Name | CVE-2024-53382 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1099619 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
node-prismjs (PTS) | bullseye | 1.23.0+dfsg-1+deb11u2 | vulnerable |
| sid, trixie, bookworm | 1.29.0+dfsg+~1.26.0-1 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
node-prismjs | source | (unstable) | (unfixed) | | | 1099619 |
Notes
[bookworm] - node-prismjs <no-dsa> (Minor issue)
https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660
https://github.com/PrismJS/prism/issues/3864