CVEvulnerability
CVE-2023-44270
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-09-29
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-74
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 configurations
• postcss postcss (< 8.4.31)
Related
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
References
- https://github.com/github/advisory-database/issues/2820 Issue Tracking
- https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25 Issue Tracking
- https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 Patch
- https://github.com/postcss/postcss/releases/tag/8.4.31 Patch, Release Notes
- https://github.com/github/advisory-database/issues/2820 Issue Tracking
- https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25 Issue Tracking
- https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 Patch
- https://github.com/postcss/postcss/releases/tag/8.4.31 Patch, Release Notes
- https://lists.debian.org/debian-lts-announce/2024/12/msg00025.html lists.debian.org