CVE-2021-23341
HIGHCVSS 7.5/10EPSS 3.17%
Last modified
CVE-2021-23341 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 3.17% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Prismjs | Prism | < 1.23.0 |
References
- https://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609Patch, Third Party Advisory
- https://github.com/PrismJS/prism/issues/2583Exploit, Patch, Third Party Advisory
- https://github.com/PrismJS/prism/pull/2584Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581Exploit, Third Party Advisory
- https://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609Patch, Third Party Advisory
- https://github.com/PrismJS/prism/issues/2583Exploit, Patch, Third Party Advisory
- https://github.com/PrismJS/prism/pull/2584Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
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 score of 7.5/10 (HIGH severity). The EPSS model estimates a 3.17% probability of exploitation in the next 30 days.
How do I fix CVE-2021-23341?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-23336The package python/cpython from 0 and before 3.6.13, from 3.…5.9
- CVE-2021-23337Lodash versions prior to 4.17.21 are vulnerable to Command I…7.2
- CVE-2021-23338This affects all versions of package qlib. The workflow func…7.2
- CVE-2021-23339This affects all versions before 10.1.14 and from 10.2.0 to …6.5
- CVE-2021-2334Vulnerability in the Oracle Database - Enterprise Edition Da…3.5
- CVE-2021-23340This affects the package pimcore/pimcore before 6.8.8. A Loc…7.1
- CVE-2021-23342This affects the package docsify before 4.12.0. It is possib…6.1
- CVE-2021-23343All versions of package path-parse are vulnerable to Regular…7.5
- CVE-2021-23344The package total.js before 3.4.8 are vulnerable to Remote C…9.8
- CVE-2021-23345All versions of package github.com/thecodingmachine/gotenber…5.3
- CVE-2021-23346This affects the package html-parse-stringify before 2.0.1; …5.3
- CVE-2021-23347The package github.com/argoproj/argo-cd/cmd before 1.7.13, f…4.8
Are you affected by CVE-2021-23341?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
