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

CVE-2021-3801: Incorrect Comparison

September 15, 2021 (updated July 29, 2022)

prism is vulnerable to Inefficient Regular Expression Complexity

References

  • huntr.dev/bounties/8c16ab31-6eb6-46d1-b9a4-387222fe1b8a
  • nvd.nist.gov/vuln/detail/CVE-2021-3801

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.25.0

Fixed versions

  • 1.25.0

Solution

Upgrade to version 1.25.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Source file

npm/prismjs/CVE-2021-3801.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:15 +0000.