PT-2026-34839
CVE-2026-41305
·
Published
2026-04-15
·
Updated
2026-09-18
Description by
CVSS 2.0
6.4
MediumMetricsAV:N/AC:L/Au:N/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions
PostCSS versions prior to 8.5.10
Description
PostCSS transforms CSS files into an Abstract Syntax Tree (AST) to analyze and modify rules. The software fails to escape
</style> sequences when stringifying CSS ASTs. If user-submitted CSS is parsed and then re-stringified for embedding within HTML <style> tags, the </style> sequence in CSS values can break out of the style context, allowing for Cross-Site Scripting (XSS).Recommendations
Update to version 8.5.10.
Found an issue in the description? Have something to add? Feel free to write us 👾