CVE-2021-23341

Regular Expression Denial of Service (ReDoS)

HIGH
7.5
CVSS Score
Published: February 18, 2021 at 04:00 PM UTC
Updated: June 17, 2026 at 03:38 AM UTC
1 product affected across 1 vendorPrism

Using prismjs by N/A?

Get instant alerts when new vulnerabilities affect prismjs - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.23.0
Affected range stops below 1.23.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (6)

x_refsource_MISCExploitPatchThird Party Advisory
https://github.com/PrismJS/prism/issues/2583
x_refsource_MISCPatchThird Party Advisory
https://github.com/PrismJS/prism/pull/2584
x_refsource_MISCExploitThird Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583
x_refsource_MISCExploitThird Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582
x_refsource_MISCExploitThird Party Advisory
https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581

CVSS

7.5HIGHsnyk
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card