Vulnerability · Published Sep 29, 2023 · Assigned by mitre
CVE-2023-44270
Medium 5.3
In plain English
A medium-severity security flaw in the node-postcss package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An issue was discovered in PostCSS before 8.4.31. The vulnerability affects linters using PostCSS to parse external untrusted CSS. An attacker can prepare CSS in such a way that it will contains parts parsed by PostCSS as a CSS comment. After processing by PostCSS, it will be included in the PostCSS output in CSS nodes (rules, properties) despite being included in a comment.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-postcss | 8.4.20+~cs8.0.23-1+deb12u1 | DEBIAN-CVE-2023-44270 |
| Debian:13 | node-postcss | 8.4.31+~cs8.0.26-1 | DEBIAN-CVE-2023-44270 |
| Debian:14 | node-postcss | 8.4.31+~cs8.0.26-1 | DEBIAN-CVE-2023-44270 |
| Ubuntu:22.04:LTS | node-postcss | no fix listed | UBUNTU-CVE-2023-44270 |
| Ubuntu:24.04:LTS | node-postcss | no fix listed | UBUNTU-CVE-2023-44270 |
| Ubuntu:25.10 | node-postcss | no fix listed | UBUNTU-CVE-2023-44270 |
| Ubuntu:26.04:LTS | node-postcss | no fix listed | UBUNTU-CVE-2023-44270 |
| Ubuntu:26.10 | node-postcss | no fix listed | UBUNTU-CVE-2023-44270 |
| npm | postcss | 8.4.31 | GHSA-7fh5-64p2-3v2j |
Affected products (as reported)
References
- https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25
- https://github.com/postcss/postcss/releases/tag/8.4.31
- https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5
- https://github.com/github/advisory-database/issues/2820
- https://lists.debian.org/debian-lts-announce/2024/12/msg00025.html