GHSA-5g2h-9x5v-5h3x
Dashboard / Vulnerabilities / GHSA-5g2h-9x5v-5h3x
GHSA-5g2h-9x5v-5h3x
Published: 10 Jan 2023Last Modified: 10 Sept 2026
Aliases:
Summary: phoenix_html allows Cross-site Scripting in HEEx class attributes
Details: tag.ex in Phoenix Phoenix.HTML (aka phoenix_html) before 3.0.4 allows XSS in HEEx class attributes
References: https://nvd.nist.gov/vuln/detail/CVE-2021-46871, https://github.com/phoenixframework/phoenix_html/commit/62a0139fb716bcdce697f6221244bd81d321d620, https://github.com/advisories/GHSA-j3gg-r6gp-95q2, https://github.com/phoenixframework/phoenix_html
Affected packages
Package
Name: phoenix_html
Purl: pkg:npm/phoenix_html
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -3.0.4
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
