CVE Explorer
CVE-2026-41305
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"postcss","vendor":"postcss","versions":[{"status":"affected","version":"< 8.5.10"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:202cb2301cfcd8396ec236578259443e913b79660226de836e4480396590dee7 · sha256:b5f20816b492276e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:202cb2301cfcd8396ec236578259443e913b79660226de836e4480396590dee7 · sha256:b5f20816b492276e… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:202cb2301cfcd8396ec236578259443e913b79660226de836e4480396590dee7 · sha256:b5f20816b492276e… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/postcss/postcss/releases/tag/8.5.10","tags":["x_refsource_MISC"],"url":"https://github.com/postcss/postcss/releases/tag/8.5.10"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:202cb2301cfcd8396ec236578259443e913b79660226de836e4480396590dee7 · sha256:b5f20816b492276e… · /containers/cna/references/1
{"name":"https://github.com/postcss/postcss/security/advisories/GHSA-qx2v-qp2m-jg93","tags":["x_refsource_CONFIRM"],"url":"https://github.com/postcss/postcss/security/advisories/GHSA-qx2v-qp2m-jg93"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:202cb2301cfcd8396ec236578259443e913b79660226de836e4480396590dee7 · sha256:b5f20816b492276e… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/postcss/postcss/security/advisories/GHSA-qx2v-qp2m-jg93"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:202cb2301cfcd8396ec236578259443e913b79660226de836e4480396590dee7 · sha256:b5f20816b492276e… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.