Skip to main content
← All vulnerabilities
CVE-2024-53382GHSA-X7HR-W5R2-H6WG

Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly co

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.30.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • PrismJS Prism

    through 1.29.0

  • prismjsnpm

    fixed in 1.30.0

References 2

gist.github.com

GitHub · PrismJS/prism