Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/postcss@8.4.31
purl pkg:npm/postcss@8.4.31
Next non-vulnerable version 8.5.10
Latest non-vulnerable version 8.5.10
Risk 3.1
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-dq4c-cvs1-9qce
Aliases:
CVE-2026-41305
GHSA-qx2v-qp2m-jg93
PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. Versions prior to 8.5.10 do not escape `</style>` sequences when stringifying CSS ASTs. When user-submitted CSS is parsed and re-stringified for embedding in HTML `<style>` tags, `</style>` in CSS values breaks out of the style context, enabling XSS. Version 8.5.10 fixes the issue.
8.5.10
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-hvjq-h8w2-kug3 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. CVE-2023-44270
GHSA-7fh5-64p2-3v2j

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-13T06:27:01.734092+00:00 GHSA Importer Fixing VCID-hvjq-h8w2-kug3 https://github.com/advisories/GHSA-7fh5-64p2-3v2j 38.6.0
2026-06-12T22:13:32.598539+00:00 GitLab Importer Affected by VCID-dq4c-cvs1-9qce https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/postcss/CVE-2026-41305.yml 38.6.0
2026-06-12T15:47:07.004877+00:00 GitLab Importer Fixing VCID-hvjq-h8w2-kug3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/postcss/CVE-2023-44270.yml 38.6.0
2026-06-12T07:56:56.168091+00:00 GithubOSV Importer Fixing VCID-hvjq-h8w2-kug3 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-7fh5-64p2-3v2j/GHSA-7fh5-64p2-3v2j.json 38.6.0