PT-2022-12947 · Phoenix · Phoenix.Html
Published
2022-04-12
·
Updated
2025-04-09
·
CVE-2021-46871
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Phoenix Phoenix.HTML (aka phoenix html) versions prior to 3.0.4
Description
The issue allows XSS in HEEx class attributes. The
class attribute was not protected against XSS attacks when using HEEx.Recommendations
For versions prior to 3.0.4, update to version 3.0.4 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
class attribute in HEEx templates to minimize the risk of exploitation.Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Phoenix.Html