{"id":"GHSA-7fh5-64p2-3v2j","summary":"PostCSS line return parsing error","details":"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.\n\nThis 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.","aliases":["CVE-2023-44270"],"modified":"2026-07-17T21:10:49.617329921Z","published":"2023-09-30T00:31:10Z","database_specific":{"nvd_published_at":"2023-09-29T22:15:11Z","cwe_ids":["CWE-144","CWE-74"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-10-03T15:04:58Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-44270"},{"type":"WEB","url":"https://github.com/github/advisory-database/issues/2820"},{"type":"WEB","url":"https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5"},{"type":"PACKAGE","url":"https://github.com/postcss/postcss"},{"type":"WEB","url":"https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25"},{"type":"WEB","url":"https://github.com/postcss/postcss/releases/tag/8.4.31"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00025.html"}],"affected":[{"package":{"name":"postcss","ecosystem":"npm","purl":"pkg:npm/postcss"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.4.31"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-7fh5-64p2-3v2j/GHSA-7fh5-64p2-3v2j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}