{"id":"UBUNTU-CVE-2024-53382","details":"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.","modified":"2026-01-20T19:27:28.811828Z","published":"2025-03-03T07:15:00Z","upstream":["CVE-2024-53382"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-53382"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-53382"}],"affected":[{"package":{"name":"node-prismjs","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-prismjs@1.11.0+dfsg-3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0+dfsg-2","1.11.0+dfsg-3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.11.0+dfsg-3","binary_name":"node-prismjs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-53382.json"}},{"package":{"name":"node-prismjs","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-prismjs@1.27.0+dfsg+~1.26.0-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.23.0+dfsg-1","1.25.0+dfsg-1","1.27.0+dfsg+~1.26.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.27.0+dfsg+~1.26.0-1","binary_name":"node-prismjs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-53382.json"}},{"package":{"name":"node-prismjs","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-prismjs@1.29.0+dfsg+~1.26.0-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.29.0+dfsg+~1.26.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.29.0+dfsg+~1.26.0-1","binary_name":"node-prismjs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-53382.json"}},{"package":{"name":"node-prismjs","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-prismjs@1.30.0+dfsg+~1.26.5-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.29.0+dfsg+~1.26.0-1","1.30.0+dfsg+~1.26.5-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.30.0+dfsg+~1.26.5-1","binary_name":"node-prismjs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-53382.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}