CVE-2021-23341: Regular Expression Denial of Service (ReDoS)
Vulnerability summary
CVE-2021-23341 is a high (CVSS 7.5) vulnerability in prismjs prism. EPSS estimates a 3.21% chance of exploitation in the next 30 days, higher than 88.5% of scored vulnerabilities. 4 public exploits are recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?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 versions- 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
EPSS trend
Probability
3.21%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 3.17% 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
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
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
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