CVE-2021-23341

Summary

CVECVE-2021-23341
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-02-18 16:15:00 UTC
Updated2021-02-26 18:54:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: NVD-CWE-noinfo

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Prismjs Prism All All All All
Application Prismjs Prism All All All All

References

ReferenceSourceLinkTags
Fixed multiple cases of vulnerable REs by RunDevelopment · Pull Request #2584 · PrismJS/prism · GitHub CONFIRM github.com Patch, Third Party Advisory
Regular Expression Denial of Service (ReDoS) in org.webjars.npm:prismjs | Snyk CONFIRM snyk.io Exploit, Third Party Advisory
Regular Expression Denial of Service (ReDoS) in org.webjars:prismjs | Snyk CONFIRM snyk.io Exploit, Third Party Advisory
Fixed multiple cases of vulnerable regexes (#2584) · PrismJS/prism@c2f6a64 · GitHub CONFIRM github.com Patch, Third Party Advisory
ReDos in prism · Issue #2583 · PrismJS/prism · GitHub CONFIRM github.com Exploit, Patch, Third Party Advisory
Regular Expression Denial of Service (ReDoS) in prismjs | Snyk CONFIRM snyk.io Exploit, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: Yeting Li

Legacy QID Mappings

  • 180494 Debian Security Update for node-prismjs (CVE-2021-23341)
  • 982933 Nodejs (npm) Security Update for prismjs (GHSA-h4hr-7fg3-h35w)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report