node-postcss — security advisory
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.
- Products
- node-postcss
- Affected versions
- 6.0.23-1, 6.0.23-3, 8.2.1+~cs5.3.23-8, 8.4.20+~cs8.0.23-1, 8.4.31+~cs8.0.26-1, 8.4.49+~cs9.2.32-1, 8.4.5+~cs7.1.51-2, 8.4.6+~cs7.3.21-1, 8.5.15+~cs9.3.34-1, 8.5.15+~cs9.3.38-1, 8.5.15+~cs9.3.39-1build1, 8.5.25+~cs10.2.23-1, 8.5.26+~cs10.2.24-1, 8.5.6+~cs9.3.28-1, 8.5.8+~cs9.3.30-1
- Fixed versions
- Not specified
- CVEs
- CVE-2023-44270
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:05 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2023-44270
node-postcss
Fixed versions: Not specified
node-postcss
Fixed versions: Not specified
node-postcss
Fixed versions: Not specified
node-postcss
Fixed versions: Not specified
node-postcss
Fixed versions: Not specified
node-postcss
Fixed versions: Not specified
Complete source record
{
"id": "25dee70a9c51aaf771341c4dcf2d35e9d667ad97d9c93410cd606d22128b49cb",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-44270",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2023-44270",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2023-44270",
"products": [
{
"name": {
"value": "node-postcss",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.0.23-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.0.23-3",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-postcss",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.2.1+~cs5.3.23-8",
"evidence": "/affected/1/versions"
},
{
"value": "8.4.5+~cs7.1.51-2",
"evidence": "/affected/1/versions"
},
{
"value": "8.4.6+~cs7.3.21-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-postcss",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.4.20+~cs8.0.23-1",
"evidence": "/affected/2/versions"
},
{
"value": "8.4.31+~cs8.0.26-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-postcss",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.4.49+~cs9.2.32-1",
"evidence": "/affected/3/versions"
},
{
"value": "8.5.6+~cs9.3.28-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-postcss",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.5.8+~cs9.3.30-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.5.15+~cs9.3.34-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.5.15+~cs9.3.38-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.5.15+~cs9.3.39-1build1",
"evidence": "/affected/4/versions"
},
{
"value": "8.5.25+~cs10.2.23-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.5.26+~cs10.2.24-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "node-postcss",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.5.6+~cs9.3.28-1",
"evidence": "/affected/5/versions"
},
{
"value": "8.5.8+~cs9.3.30-1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2023-44270",
"aliases": [
"UBUNTU-CVE-2023-44270"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-postcss",
"purl": "pkg:deb/ubuntu/node-postcss?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"6.0.23-1",
"6.0.23-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-44270.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-postcss",
"binary_version": "6.0.23-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-postcss",
"purl": "pkg:deb/ubuntu/node-postcss?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"8.2.1+~cs5.3.23-8",
"8.4.5+~cs7.1.51-2",
"8.4.6+~cs7.3.21-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-44270.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-postcss",
"binary_version": "8.4.6+~cs7.3.21-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-postcss",
"purl": "pkg:deb/ubuntu/node-postcss?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"8.4.20+~cs8.0.23-1",
"8.4.31+~cs8.0.26-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-44270.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-postcss",
"binary_version": "8.4.31+~cs8.0.26-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-postcss",
"purl": "pkg:deb/ubuntu/node-postcss?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"8.4.49+~cs9.2.32-1",
"8.5.6+~cs9.3.28-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-44270.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-postcss",
"binary_version": "8.5.6+~cs9.3.28-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-postcss",
"purl": "pkg:deb/ubuntu/node-postcss?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"8.5.8+~cs9.3.30-1",
"8.5.15+~cs9.3.34-1",
"8.5.15+~cs9.3.38-1",
"8.5.15+~cs9.3.39-1build1",
"8.5.25+~cs10.2.23-1",
"8.5.26+~cs10.2.24-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-44270.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-postcss",
"binary_version": "8.5.26+~cs10.2.24-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-postcss",
"purl": "pkg:deb/ubuntu/node-postcss?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"8.5.6+~cs9.3.28-1",
"8.5.8+~cs9.3.30-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-44270.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-postcss",
"binary_version": "8.5.8+~cs9.3.30-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:25.907752805Z",
"provider": "osv",
"upstream": [
"CVE-2023-44270"
],
"references": [
"https://ubuntu.com/security/CVE-2023-44270",
"https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5",
"https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25",
"https://github.com/postcss/postcss/releases/tag/8.4.31",
"https://www.cve.org/CVERecord?id=CVE-2023-44270"
]
},
"related_cves": [
{
"value": "CVE-2023-44270",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355650,
"published_at": "2023-09-29T22:15:00+00:00"
}