CVE-2021-23341: prismjs prism
CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2021-23341DEBIAN-CVE-2021-23341GHSA-h4hr-7fg3-h35w
Published 18-02-2021Last modified 16-09-2024
Vulnerability summary
CVE-2021-23341 is a high (CVSS 7.5) vulnerability in prismjs prism. EPSS estimates a 3.17% chance of exploitation in the next 30 days, higher than 87.8% of scored vulnerabilities. 4 public exploits are recorded.
CVSS score
7.5/10
010
High · v3.1 (CVE.org)EPSS score
3.17%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits4github, reference
Timeline
- 18-02-2021PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest, prism-tap and prism-eiffel components.
CVSS metrics
5 scores · 4 sources · 2 versionsHigh 7.5Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
3.17%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
0.00 pp
From 3.17% on 19-09-2026
19-09-202619-10-2026
EPSS score3.17%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
4 foundPrism
Maturity: poc
Exploit Reference (snyk.io)
Maturity: unknown
Exploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Debian1 product
- node-prismjs< 1.23.0+dfsg-1
Npm1 product
- prismjs< 1.23.0
Prismjs1 product
- prism< 1.23.0
Ubuntu1 product
- node-prismjsAll versions (No fix recorded)
4 vendors · 4 products
References
11 links- github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609X Refsource MISCREPORTWEBPatchThird Party Advisory