PostCSS has XSS via Unescaped </style> in its CSS Stringify Output
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| postcss | postcss | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Postcss | Postcss |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-qx2v-qp2m-jg93 | PostCSS has XSS via Unescaped </style> in its CSS Stringify Output |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.205% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Postcss
Postcss postcss |
|
| Vendors & Products |
Postcss
Postcss postcss |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | PostCSS has XSS via Unescaped </style> in its CSS Stringify Output | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV3_1
|