A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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 products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /postcss/postcss/releases/tag/8.5.10
- github.com /postcss/postcss/security/advisories/GHSA-qx2v-qp2m-jg93
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning