Live threats

All CVEs / Prismjs

CVE-2021-23341Prismjs Prism

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.2%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Feb 18, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Prism.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm prismjs < 1.23.0 1.23.0 npm install prismjs@1.23.0

Per OSV / GitHub Advisories (GHSA-h4hr-7fg3-h35w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
prismjsprism< 1.23.0

Official sources

References

Links published by the sources. Open them with care.