Cross-site scripting in Postcss - CVE-2026-41305
Published: April 24, 2026
Postcss
Postcss
Description
The vulnerability allows a remote attacker to execute arbitrary script in a victim's browser.
The vulnerability exists due to cross-site scripting in CSS stringify output when embedding re-stringified user-supplied CSS in HTML style tags. A remote attacker can supply crafted CSS containing an unescaped closing style sequence to execute arbitrary script in a victim's browser.
User interaction is required to load the generated HTML.