← Database

CVE-2026-41305

MEDIUM CVSS: 6.1 Published: 2026-04-24 Modified: 2026-06-17

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 `` sequences when stringifying CSS ASTs. When user-submitted CSS is parsed and re-stringified for embedding in HTML `` in CSS values breaks out of the style context, enabling XSS. Version 8.5.10 fixes the issue.

Affected Platforms

Unknown

Weakness Type

CWE-79

References