CVE-2021-23341
published high CVSS 3.1 · 7.5Regular Expression Denial of Service (ReDoS)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | prismjsunspecified to < 1.23.0 | Affected | Not stated | snyk |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | prismjs | unspecified to < 1.23.0 (affected · custom) | snyk · cna |
Weaknesses
1- Regular Expression Denial of Service (ReDoS)
References
6- https://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609
- https://github.com/PrismJS/prism/issues/2583
- https://github.com/PrismJS/prism/pull/2584
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582
- https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581
Provider assertions
2snyk · cna
Regular Expression Denial of Service (ReDoS)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f9735c7315fb28496bf9c5eb230bf4a22ca2b535ee3516a13e4097f047ad326e
- Ingested
- 23 Sep 2026, 07:52:52 UTC
- Source record
- Official CVE record