What’s Vulnerable › Vulnerabilities
CVE-2021-46871
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-01-10 · updated 2026-06-17
- Weakness: CWE-79
Description
tag.ex in Phoenix Phoenix.HTML (aka phoenix_html) before 3.0.4 allows XSS in HEEx class attributes.
Affected products
- phoenixframework Phoenix Html: before 3.0.4 — fixed in 3.0.4
How to fix
Upgrade to a fixed version: phoenixframework Phoenix Html 3.0.4. Check the vendor advisory for mitigations.
References
- https://github.com/advisories/GHSA-j3gg-r6gp-95q2
- https://github.com/phoenixframework/phoenix_html/commit/62a0139fb716bcdce697f6221244bd81d321d620
- https://github.com/advisories/GHSA-j3gg-r6gp-95q2
- https://github.com/phoenixframework/phoenix_html/commit/62a0139fb716bcdce697f6221244bd81d321d620
Get alerted when CVE-2021-46871 or the next vulnerability affects your stack