CVE-2021-3801: prismjs prism
CVSS: 7.5v3.0HighModified
AliasesUBUNTU-CVE-2021-3801DEBIAN-CVE-2021-3801GHSA-hqhp-5p83-hx96
Published 15-09-2021Last modified 03-08-2024
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 63.3% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.5/10
010
High · v3.0 (CVE.org)EPSS score
1.04%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
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 versionsMedium 6.5Preferred score · OSV · Ubuntu (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HSourcesAll 4 agree
- 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
High 7.5Preferred score · CVE.org (CNA)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 3 agree
- 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
Medium 4.3Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
1.04%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
0.00 pp
From 1.04% on 20-09-2026
20-09-202620-10-2026
EPSS score1.04%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
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