CVE-2023-44270
MEDIUM 5.3CVSS 3.1PostCSS line return parsing error
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.
- Published
- 29 Sep 2023
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-144CWE-74
- Also known as
- GHSA-7fh5-64p2-3v2j
- Sources
- NVDJSONOSV GHSA-7fh5-64p2-3v2jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | postcss | postcsscpe:2.3:a:postcss:postcss:*:*:*:*:*:node.js:*:* |
< 8.4.31 | 8.4.31 |
| OSV | npm | postcss | < 8.4.31 | 8.4.31 |
References
- https://github.com/github/advisory-database/issues/2820 · Issue Tracking, WEB
- https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25 · Issue Tracking, WEB
- https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 · Patch, WEB
- https://github.com/postcss/postcss/releases/tag/8.4.31 · Patch, Release Notes, WEB
- https://lists.debian.org/debian-lts-announce/2024/12/msg00025.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-44270 · ADVISORY
- https://github.com/postcss/postcss · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 29 Sep 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Sep 2023)