Security mailing lists by PureSourceCode

CVE-2024-53382

MEDIUM 5.4CVSS 3.1

PrismJS DOM Clobbering vulnerability

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.

Published
3 Mar 2025
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-79CWE-94
Also known as
GHSA-x7hr-w5r2-h6wg
Sources
NVDJSONOSV GHSA-x7hr-w5r2-h6wgJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD cve@mitre.org (Secondary) CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD prismjs prism
cpe:2.3:a:prismjs:prism:*:*:*:*:*:node.js:*:*
<= 1.29.0
OSV npm prismjs < 1.30.0 1.30.0

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 3 Mar 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.