Home / Postcss / Postcss / CVE-2023-44270
CVE-2023-44270: is it exploited, and which versions of Postcss are affected and fixed?
CVE-2023-44270 is an injection vulnerability in Postcss. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 22:39 UTC). Affected: postcss before 8.4.31 (GitHub advisory GHSA-7fh5-64p2-3v2j). Fixed in 8.4.31 (GitHub advisory GHSA-7fh5-64p2-3v2j). Severity: Medium (5.3, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 22:39 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:35 UTC.
What is CVE-2023-44270?
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.
From the CVE record by mitre, last updated November 3, 2025, 21:49 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | postcss | < 8.4.31 | 8.4.31 | GHSA-7fh5-64p2-3v2j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 4, 2025. Summary: PostCSS line return parsing error.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| postcss | postcss | before 8.4.31 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:27 UTC.
How severe is CVE-2023-44270?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-44270 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, September 23, 2024)
- EPSS
- 0.97% probability of exploitation activity in the next 30 days, percentile 63.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
- CWE-144 Improper Neutralization of Line Delimiters
Where are the vendor advisories and references?
- https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25
- https://github.com/postcss/postcss/releases/tag/8.4.31
- https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5
- https://github.com/github/advisory-database/issues/2820
- https://lists.debian.org/debian-lts-announce/2024/12/msg00025.html
When was it published, and where is the official record?
- Reserved
- September 28, 2023
- Published
- September 29, 2023, 00:00 UTC
- CVE record updated
- November 3, 2025, 21:49 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 06:27 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:35 UTC; KEV December 3, 2026, 22:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Postcss?
- Aug 17, 2026CVE-2026-73646 postcss: path traversal (reading or writing files outside the intended folder)
- Aug 3, 2026CVE-2026-69153 postcss: path traversal (reading or writing files outside the intended folder)
- Jul 27, 2026CVE-2026-45623 postcss: path traversal (reading or writing files outside the intended folder)
- Apr 24, 2026CVE-2026-41305 postcss: cross-site scripting (XSS)
- Apr 26, 2021CVE-2021-23382 postcss: regular expression denial of service (ReDoS)
- Apr 12, 2021CVE-2021-23368 postcss: denial of service (uncontrolled resource consumption)
Questions about CVE-2023-44270
Is CVE-2023-44270 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 22:39 UTC. FIRST's EPSS gives it a 0.97% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Postcss are affected by CVE-2023-44270?
postcss before 8.4.31, per the GitHub advisory GHSA-7fh5-64p2-3v2j. The tables above give every range the sources list.
Which version fixes CVE-2023-44270?
8.4.31, per the GitHub advisory GHSA-7fh5-64p2-3v2j. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-44270?
Medium (5.3, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2023-44270?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.