CVE-2024-53382

NameCVE-2024-53382
DescriptionPrism (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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-prismjs (PTS)bullseye1.23.0+dfsg-1+deb11u2vulnerable
sid, trixie, bookworm1.29.0+dfsg+~1.26.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-prismjssource(unstable)(unfixed)

Notes

https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660

Search for package or bug name: Reporting problems