PT-2022-12947 · Phoenix · Phoenix.Html

Published

2022-04-12

·

Updated

2025-04-09

·

CVE-2021-46871

CVSS v3.1

6.1

Medium

VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2021-46871
GHSA-5G2H-9X5V-5H3X
GHSA-J3GG-R6GP-95Q2

Affected Products

Phoenix.Html