PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into…
Historical advisory recorded 25 Oct 2026 09:17:35 UTC. Read the latest advisory.
nvd · CVE-2026-41305
PublishedPostCSS 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-41305
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-79
Original publisher date fields
published: 2026-04-24T03:16:11.547
lastModified: 2026-06-17T10:46:28.700
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON