cve.bz

CVE-2021-23382

7.5 highEPSS 2.6%

High (7.5) in postcss postcss. EPSS 2.6% chance of exploitation in the next 30 days. Fixed in postcss 7.0.36, 8.2.13.

The package postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern \/\*\s* sourceMappingURL=(.*).

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.6% chance of exploitation in the next 30 days; higher than 85% of CVEs (scores of 2026-10-31)
CWE
CWE-1333
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-566m-qj78-rww5npmpostcss>=8.0.0 <8.2.138.2.13
GHSA-566m-qj78-rww5npmpostcss<7.0.367.0.36

References

Check your stackJSON