Medium severity5.3NVD Advisory· Published Apr 26, 2021· Updated Jun 17, 2026
CVE-2021-23382
CVE-2021-23382
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=(.*).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
postcssnpm | >= 8.0.0, < 8.2.13 | 8.2.13 |
postcssnpm | < 7.0.36 | 7.0.36 |
Affected products
2- postcss/postcssdescription
Patches
Vulnerability mechanics
References
6- github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956nvdPatchThird Party AdvisoryWEB
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641nvdExploitPatchThird Party AdvisoryWEB
- snyk.io/vuln/SNYK-JS-POSTCSS-1255640nvdExploitPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-566m-qj78-rww5ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-23382ghsaADVISORY
- github.com/postcss/postcss/releases/tag/7.0.36ghsaWEB
News mentions
0No linked articles in our index yet.