{"id":"CVE-2026-41305","sourceIdentifier":"security-advisories@github.com","published":"2026-04-24T03:16:11.547","lastModified":"2026-06-17T10:46:28.700","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"postcss","product":"postcss","versions":[{"version":"< 8.5.10","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-24T16:22:58.569354Z","id":"CVE-2026-41305","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"references":[{"url":"https://github.com/postcss/postcss/releases/tag/8.5.10","source":"security-advisories@github.com"},{"url":"https://github.com/postcss/postcss/security/advisories/GHSA-qx2v-qp2m-jg93","source":"security-advisories@github.com"},{"url":"https://github.com/postcss/postcss/security/advisories/GHSA-qx2v-qp2m-jg93","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}