CVE-2021-3801 – prismjs
Package
Manager: npm
Name: prismjs
Vulnerable Version: >=0 <1.25.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.0028 pctl0.50979
Details
prismjs Regular Expression Denial of Service vulnerability Prism is a syntax highlighting library. The prismjs package is vulnerable to ReDoS (regular expression denial of service). An attacker that is able to provide a crafted HTML comment as input may cause an application to consume an excessive amount of CPU.
Metadata
Created: 2021-09-20T20:44:48Z
Modified: 2022-08-10T23:38:25Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-hqhp-5p83-hx96/GHSA-hqhp-5p83-hx96.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-hqhp-5p83-hx96
Finding: F002
Auto approve: 1