5.3medium
PostCSS line return parsing error
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.97% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-7fh5-64p2-3v2j
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| postcss (npm) | before 8.4.31 | GitHub Advisory Database |
| postcss postcss | before 8.4.31 | NVD |
All scores
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
An issue was discovered in PostCSS before 8.4.31. It affects linters using PostCSS to parse external Cascading Style Sheets (CSS). There may be \r discrepancies, as demonstrated by @font-face{ font:(\r/*);} in a rule.
This 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 originally included in a comment.
NVD (es)
Se descubrió un problema en PostCSS antes de la versión 8.4.31. La vulnerabilidad afecta a los linters que utilizan PostCSS para analizar CSS externos que no son de confianza. Un atacante puede preparar CSS de tal manera que contenga partes analizadas por PostCSS como un comentario CSS. Después del procesamiento por PostCSS, se incluirá en la salida de PostCSS en los nodos CSS (reglas, propiedades) a pesar de estar incluido en un comentario.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-44270 changed 2025-11-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7fh5-64p2-3v2j changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2023-44270 changed 2026-06-17 | Public domain |