CVE-2023-44270
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
postcss (npm)before 8.4.31GitHub Advisory Database
postcss postcssbefore 8.4.31NVD

All scores

GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-74CWE-144

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2023-44270 changed 2025-11-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-7fh5-64p2-3v2j changed 2026-09-10CC-BY-4.0
NVDCVE-2023-44270 changed 2026-06-17Public domain