{"id":"CVE-2021-23382","aliases":["GHSA-566m-qj78-rww5"],"url":"https://o3.security/vulnerability/CVE-2021-23382","summary":"Regular Expression Denial of Service in postcss","details":"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=(.*).","published":"2021-04-26T16:15:07.330Z","modified":"2026-08-07T15:13:59.178374Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"npm","name":"postcss","fixedVersion":"8.2.13"},{"ecosystem":"npm","name":"postcss","fixedVersion":"7.0.36"}],"fix":{"url":"https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956","label":"postcss/postcss@2b1d04c"},"references":[{"type":"FIX","url":"https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956"},{"type":"FIX","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641"},{"type":"FIX","url":"https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T15:13:59.178374Z"}}