npmWorst: High6 advisories
prismjs: known vulnerabilities
prismjs has 6 reviewed security advisories in the GitHub Advisory Database — 4 high, 2 moderate. The most recent was published 2025-03-03. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the prismjs versions running across your servers, containers and images, and ranks what to patch first.
How to fix prismjs
Upgrade prismjs to a release at or above the fixed version shown for each advisory below. For npm:
npm install prismjs@1.30.0 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (6)
PrismJS DOM Clobbering vulnerability
Moderate 4.9 CWE-79 CWE-94
— Affected: before 1.30.0. Fixed in 1.30.0. Published 2025-03-03. GHSA-x7hr-w5r2-h6wg · CVE-2024-53382
Cross-site Scripting in Prism
High 7.5 CWE-79
— Affected: from 1.14.0 up to 1.27.0. Fixed in 1.27.0. Published 2022-02-18. GHSA-3949-f494-cm99 · CVE-2022-23647
prismjs Regular Expression Denial of Service vulnerability
Moderate 6.5 CWE-400
— Affected: before 1.25.0. Fixed in 1.25.0. Published 2021-09-15. GHSA-hqhp-5p83-hx96 · CVE-2021-3801
Regular Expression Denial of Service (ReDoS) in Prism
High 7.4 CWE-400
— Affected: before 1.24.0. Fixed in 1.24.0. Published 2021-06-28. GHSA-gj77-59wh-66hg · CVE-2021-32723
Denial of service in prismjs
High CWE-400
— Affected: before 1.23.0. Fixed in 1.23.0. Published 2021-02-18. GHSA-h4hr-7fg3-h35w · CVE-2021-23341
Cross-Site Scripting in Prism
High 7.1 CWE-79
— Affected: from 1.1.0 up to 1.21.0. Fixed in 1.21.0. Published 2020-08-07. GHSA-wvhm-4hhf-97x9 · CVE-2020-15138
Find prismjs across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.