{"cve":"CVE-2021-23382","nvd":{"published":"2021-04-26T16:15:07.330","modified":"2026-06-17T03:38:39.613","status":"Modified","description":"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=(.*).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641","https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640","https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641"],"products":["postcss:postcss"],"source":"nvd","synced_at":"2026-10-19T21:17:01.373894544+00:00"},"epss":{"cve":"CVE-2021-23382","score":0.02557,"percentile":0.85074,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-566m-qj78-rww5","url":"https://osv.dev/vulnerability/GHSA-566m-qj78-rww5","summary":"Regular Expression Denial of Service in postcss","modified":"2025-01-14T08:57:01.148991Z","packages":[{"ecosystem":"npm","name":"postcss","purl":"pkg:npm/postcss","ranges":[">=8.0.0 <8.2.13"],"fixed":["8.2.13"]},{"ecosystem":"npm","name":"postcss","purl":"pkg:npm/postcss","ranges":["<7.0.36"],"fixed":["7.0.36"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}