CVE-2021-3801Prismjs Prism
Medium 6.5 No auth needed
Follow: this CVE · Prismjs · Prismjs Prism We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- Sep 15, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
prism is vulnerable to Inefficient Regular Expression Complexity
What to do
- Apply the vendor's security update for Prism.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | prismjs |
< 1.25.0 |
1.25.0 |
npm install prismjs@1.25.0 |
Per OSV / GitHub Advisories (GHSA-hqhp-5p83-hx96). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| prismjs | prism | < 1.25.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- huntr.dev Exploit Issue Tracking Patch