CVE-2021-23341
CVE-2021-23341 is a high-severity vulnerability in Prismjs Prism with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 3% (86th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Prismjs Prism
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-23341?
- 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.
- How severe is CVE-2021-23341?
- CVE-2021-23341 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-23341 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (86th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-23341?
- CVE-2021-23341 affects Prismjs Prism. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-23341?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-23341 published?
- CVE-2021-23341 was published on 2021-02-18 and last updated on 2026-06-17.
References
- 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
Affected products (1)
- cpe:2.3:a:prismjs:prism:*:*:*:*:*:node.js:*:*
More vulnerabilities in Prismjs Prism
- CVE-2022-23647 — High (CVSS 7.5): Prism is a syntax highlighting library. Starting with version 1.14.0 and prior to version 1.27.0, Prism's command line…
- CVE-2021-32723 — High (CVSS 7.4): Prism is a syntax highlighting library. Some languages before 1.24.0 are vulnerable to Regular Expression Denial of…
- CVE-2021-3801 — Medium (CVSS 6.5): prism is vulnerable to Inefficient Regular Expression Complexity
- CVE-2024-53382 — Medium (CVSS 4.9): Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but…