# CVE-2023-44270: PostCSS line return parsing error

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 63% of CVEs (2026-12-01)
- Published: 2023-09-29T00:00:00.000Z
- Modified: 2026-09-10T03:49:57.862Z
- Also known as: GHSA-7fh5-64p2-3v2j
- Weaknesses: CWE-74, CWE-144
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- postcss (npm): before 8.4.31
- postcss postcss: before 8.4.31

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25> (issue-tracking, web)
- <https://github.com/postcss/postcss/releases/tag/8.4.31> (patch, release-notes, web)
- <https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5> (patch, web)
- <https://github.com/github/advisory-database/issues/2820> (issue-tracking, 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)

## Sources

- CVE List: [CVE-2023-44270](https://www.cve.org/CVERecord?id=CVE-2023-44270), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-7fh5-64p2-3v2j](https://github.com/advisories/GHSA-7fh5-64p2-3v2j), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-44270](https://nvd.nist.gov/vuln/detail/CVE-2023-44270), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-44270 · Whole record: https://cve.day/CVE-2023-44270.json · Rebuilt by cve.day 2026-11-25T22:58:28.294Z
