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
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

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.