Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-53382: Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains

29
Routine
MEDIUM 4.9UPGRADE

CVE-2024-53382 is a medium-severity flaw (CVSS 4.9) affecting prism. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML elements.

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score4.9 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededLow
User interactionNone
EPSS exploit chance0.3% (top 72%)
CISA exploited listNo
WeaknessCWE-94, CWE-79
Published2025-03-03
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: prismjs

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

prismjs prism UPGRADE
Affected: <= 1.29.0
Fixed in: newer than 1.29.0
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls prism
2. UPGRADE to newer than 1.29.0
npm install prism@">1.29.0"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-53382?

prism: upgrade to newer than 1.29.0. Exact commands for each OS are on this page.

Is CVE-2024-53382 being exploited?

CVE-2024-53382 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-53382 affect?

CVE-2024-53382 affects prism. Severity is medium (CVSS 4.9). Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML e

How urgent is CVE-2024-53382?

Priority 29/100. Public exploit reference

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.