# CVE-2021-3801: Inefficient Regular Expression Complexity in prismjs/prism

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-09-15 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-3801, DEBIAN-CVE-2021-3801, GHSA-hqhp-5p83-hx96
- Record: https://cvemate.com/vulnerability/CVE-2021-3801 · JSON: https://cvemate.com/vulnerability/CVE-2021-3801/json

## Description

```text
prism is vulnerable to Inefficient Regular Expression Complexity
```

## Signals

- CVSS: 7.5 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.036%, percentile 65.017%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian node-prismjs (Debian): \< 1.25.0+dfsg-1
- ubuntu node-prismjs (Ubuntu): All versions (No fix recorded)
- Npm prismjs (Npm): \< 1.25.0
- prismjs prism: \< 1.25.0
- prismjs prismjs/prism: ≥ unspecified, ≤ 1.24.1

## References

- <https://huntr.dev/bounties/8c16ab31-6eb6-46d1-b9a4-387222fe1b8a>
- <https://github.com/prismjs/prism/commit/0ff371bb4775a131634f47d0fe85794c547232f9>
- <https://ubuntu.com/security/CVE-2021-3801>
- <https://www.cve.org/CVERecord?id=CVE-2021-3801>
- <https://security-tracker.debian.org/tracker/CVE-2021-3801>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3801>
- <https://github.com/prismjs/prism>

---

Data as of 2026-12-05T05:13:21.324Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
