CVE-2021-46871
Medium
Description
tag.ex in Phoenix Phoenix.HTML (aka phoenix_html) before 3.0.4 allows XSS in HEEx class attributes.
SeverityMedium
CVSS6.1
Exploit probability—
ProductPhoenixframework Phoenix Html
PublishedJan 10, 2023
First seenJan 10, 2023
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- phoenixframework phoenix_html3.0.4 or later
- phoenix_html3.0.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| phoenixframework phoenix_html | v < 3.0.4 | 3.0.4 |
| phoenix_htmlnpm | v < 3.0.4 | 3.0.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.