Live threats

All CVEs / Prismjs

CVE-2021-3801Prismjs Prism

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
No
Published
Sep 15, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

prism is vulnerable to Inefficient Regular Expression Complexity

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.25.0 1.25.0 npm install prismjs@1.25.0

Per OSV / GitHub Advisories (GHSA-hqhp-5p83-hx96). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
prismjsprism< 1.25.0

Official sources

References

Links published by the sources. Open them with care.