CVE-2021-3801: Inefficient Regular Expression Complexity in prismjs/prism
Vulnerability summary
CVE-2021-3801 is a high (CVSS 7.5) vulnerability in prismjs prism. EPSS estimates a 1.04% chance of exploitation in the next 30 days, higher than 65% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 15-09-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
prism is vulnerable to Inefficient Regular Expression Complexity
CVSS metrics
8 scores · 5 sources · 3 versions- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.04%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.04% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Prismjs2 products
- prism< 1.25.0
- prismjs/prism≥ unspecified, ≤ 1.24.1
Debian1 product
- node-prismjs< 1.25.0+dfsg-1
Npm1 product
- prismjs< 1.25.0
Ubuntu1 product
- node-prismjsAll versions (No fix recorded)
4 vendors · 5 products
References
7 links- huntr.dev/bounties/8c16ab31-6eb6-46d1-b9a4-387222fe1b8aX Refsource CONFIRMREPORTWEBExploitIssue TrackingPatchThird Party Advisory
- github.com/prismjs/prism/commit/0ff371bb4775a131634f47d0fe85794c547232f9X Refsource MISCREPORTWEBPatchThird Party Advisory
- github.com/prismjs/prismPACKAGE