CVE-2021-23341

HIGH
Published Feb 18, 20215y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
High
Find Similar
Published Feb 18, 2021 5y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
7.5
Exploitability
3.9
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Affected Products 1

VendorProductVersionRange
prismjsprism* <1.23.0

References 6

  • github.com https://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609
    PatchThird Party Advisory
  • github.com https://github.com/PrismJS/prism/issues/2583
    ExploitPatchThird Party Advisory
  • github.com https://github.com/PrismJS/prism/pull/2584
    PatchThird Party Advisory
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583
    ExploitThird Party Advisory
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582
    ExploitThird Party Advisory
  • snyk.io https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581
    ExploitThird Party Advisory

Remediation

  • github.com https://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609
    PatchThird Party Advisory
  • github.com https://github.com/PrismJS/prism/issues/2583
    ExploitPatchThird Party Advisory
  • github.com https://github.com/PrismJS/prism/pull/2584
    PatchThird Party Advisory