CVE-2021-46871: phoenixframework phoenix_html
Vulnerability summary
CVE-2021-46871 is a medium (CVSS 6.1) vulnerability in phoenixframework phoenix_html. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 39.9% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 10-01-2023PublishedVulnerability first disclosed.
- 09-04-2025Last modifiedVulnerability information updated.
Description
tag.ex in Phoenix Phoenix.HTML (aka phoenix_html) before 3.0.4 allows XSS in HEEx class attributes.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.45%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.43% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Hex1 product
- phoenix_html< 3.0.4
Npm1 product
- phoenix_html< 3.0.4
Phoenixframework1 product
- phoenix_html< 3.0.4
3 vendors · 3 products
References
4 links- github.com/phoenixframework/phoenix_html/commit/62a0139fb716bcdce697f6221244bd81d321d620WEBPatchThird Party Advisory