CVE-2021-23368Postcss
Medium 5.3 No auth needed
Follow: this CVE · Postcss · Postcss We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 3.5% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Apr 12, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
The package postcss from 7.0.0 and before 8.2.10 are vulnerable to Regular Expression Denial of Service (ReDoS) during source map parsing.
What to do
- Apply the vendor's security update for Postcss.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | postcss |
≥ 7.0.0 < 7.0.36 |
7.0.36 |
npm install postcss@7.0.36 |
| npm | postcss |
≥ 8.0.0 < 8.2.10 |
8.2.10 |
npm install postcss@8.2.10 |
Per OSV / GitHub Advisories (GHSA-hwj9-h5mp-3pm3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postcss | postcss | ≥ 7.0.0 < 7.0.36 |
| postcss | postcss | ≥ 8.0.0 < 8.2.10 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- snyk.io Exploit Patch Third Party Advisory
- snyk.io Exploit Patch Third Party Advisory