GitHub Advisoryadvisory · npm, Hex

GHSA-5g2h-9x5v-5h3x phoenix_html allows Cross-site Scripting in HEEx class attributes

MEDIUM Published 2023-01-10 Modified 2025-04-09 Official page ↗
Aliases
CVE-2021-46871
Ecosystem
npm, Hex
Packages
phoenix_html
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2023-01-10

Affected packages

• npm phoenix_html: < 3.0.4 → fixed in 3.0.4 • Hex phoenix_html: < 3.0.4 → fixed in 3.0.4

Description

tag.ex in Phoenix Phoenix.HTML (aka phoenix_html) before 3.0.4 allows XSS in HEEx class attributes

Related

Alias · CVE (1)

  • CVE-2021-46871 tag.ex in Phoenix Phoenix.HTML (aka phoenix_html) before 3.0.4 allows XSS in HEEx class attributes. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References