{"id":"CVE-2021-46871","aliases":["GHSA-5g2h-9x5v-5h3x"],"url":"https://o3.security/vulnerability/CVE-2021-46871","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.","published":"2023-01-10T06:15:09.870Z","modified":"2026-07-09T10:52:17.312433Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Hex","name":"phoenix_html","fixedVersion":"3.0.4"},{"ecosystem":"npm","name":"phoenix_html","fixedVersion":"3.0.4"}],"fix":{"url":"https://github.com/phoenixframework/phoenix_html/commit/62a0139fb716bcdce697f6221244bd81d321d620","label":"phoenixframework/phoenix_html@62a0139"},"references":[{"type":"FIX","url":"https://github.com/advisories/GHSA-j3gg-r6gp-95q2"},{"type":"FIX","url":"https://github.com/phoenixframework/phoenix_html/commit/62a0139fb716bcdce697f6221244bd81d321d620"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T10:52:17.312433Z"}}