Live threats

All CVEs / Postcss

CVE-2021-23368Postcss

Medium 5.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postcss.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
postcsspostcss≥ 7.0.0 < 7.0.36
postcsspostcss≥ 8.0.0 < 8.2.10

Official sources

References

Links published by the sources. Open them with care.