# prismjs (npm) vulnerabilities

6 known vulnerabilities (5 high, 1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://www.npmjs.com/package/prismjs

## Advisories (6)

### [CVE-2024-53382](https://cve.now/CVE-2024-53382): Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly…

- Severity: Medium 4.9
- Published: Mar 3, 2025
- Affected: fixed in 1.30.0.

### [CVE-2022-23647](https://cve.now/CVE-2022-23647): Cross-site Scripting in Prism

- Severity: High 7.5
- Published: Feb 18, 2022
- Affected: from 1.14.0, fixed in 1.27.0.

### [CVE-2021-3801](https://cve.now/CVE-2021-3801): Inefficient Regular Expression Complexity in prismjs/prism

- Severity: High 7.5
- Published: Sep 15, 2021
- Affected: fixed in 1.25.0.

### [CVE-2021-32723](https://cve.now/CVE-2021-32723): Regular Expression Denial of Service (ReDoS) in Prism

- Severity: High 7.4
- Published: Jun 28, 2021
- Affected: fixed in 1.24.0.

### [CVE-2021-23341](https://cve.now/CVE-2021-23341): Regular Expression Denial of Service (ReDoS)

- Severity: High 7.5
- Published: Feb 18, 2021
- Affected: fixed in 1.23.0.

### [CVE-2020-15138](https://cve.now/CVE-2020-15138): Cross-Site Scripting in Prism

- Severity: High 7.1
- Published: Aug 7, 2020
- Affected: from 1.1.0, fixed in 1.21.0.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/prismjs
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
