CVE-2021-23341
mediumpriority · track · 31EPSS 0.032 · 88 %ileEUUSEPSS · scored 2026-10-28
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-h4hr-7fg3-h35wDenial of service in prismjs2021-03-01ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (21)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2021-23341cnnvd
- https://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609cnnvd
- https://github.com/PrismJS/prism/issues/2583cnnvd
- https://github.com/PrismJS/prism/pull/2584cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-23341cnnvd
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583cnnvd
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582cnnvd
- https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan