Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. prismjs
  4. ›
  5. CVE-2021-23341

CVE-2021-23341: Uncontrolled Resource Consumption

February 18, 2021 (updated February 26, 2021)

The package prismjs are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest, prism-tap and prism-eiffel components.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-23341

Code Behaviors & Features

Detect and mitigate CVE-2021-23341 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.23.0

Fixed versions

  • 1.23.0

Solution

Upgrade to version 1.23.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

npm/prismjs/CVE-2021-23341.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:20 +0000.