A flaw was found in Crass. When parsing malformed URL tokens containing escaped backslashes, Crass incorrectly treats the closing parenthesis as escaped, retaining style declarations that web browsers interpret as active Cascading Style Sheets (CSS). A remote attacker could supply crafted CSS to an application relying on Crass for sanitization, enabling unauthorized style injection that can lead to sensitive data exfiltration or user interface manipulation.
Exploitability
AV:NAC:LPR:NUI:RScope
S:CImpact
C:LI:LA:N6.1/CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N