Cross-Site Scripting Vulnerability in Phoenix.HTML by Phoenix Framework
CVE-2021-46871
6.1MEDIUM
What is CVE-2021-46871?
The vulnerability in Phoenix.HTML, specifically in the tag.ex component, allows for Cross-Site Scripting (XSS) attacks through HEEx class attributes. This can enable attackers to inject malicious scripts into web pages processed by the affected versions, leading to potential data theft, session hijacking, and other security risks. Developers using versions prior to 3.0.4 are advised to upgrade to mitigate this vulnerability.
