{"id":"CVE-2021-46871","details":"tag.ex in Phoenix Phoenix.HTML (aka phoenix_html) before 3.0.4 allows XSS in HEEx class attributes.","aliases":["GHSA-5g2h-9x5v-5h3x"],"modified":"2026-07-09T10:52:17.312433Z","published":"2023-01-10T06:15:09.870Z","references":[{"type":"FIX","url":"https://github.com/advisories/GHSA-j3gg-r6gp-95q2"},{"type":"FIX","url":"https://github.com/phoenixframework/phoenix_html/commit/62a0139fb716bcdce697f6221244bd81d321d620"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/phoenixframework/phoenix_html","events":[{"introduced":"0"},{"fixed":"926a7e9da40df9b9da4eaec57a97641fd56729c2"},{"fixed":"62a0139fb716bcdce697f6221244bd81d321d620"}],"database_specific":{"cpe":"cpe:2.3:a:phoenixframework:phoenix_html:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.0.4"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v3.0.3","v3.0.2","v3.0.0","v2.14.2","v2.14.1","v.2.14.1","v2.14.0","v2.13.3","v2.13.2","v2.13.1","v2.13.0","v2.12.0","v2.11.2","v2.11.1","v2.11.0","v2.10.4","v2.10.2","v2.10.1","v2.10.0","v2.9.3","v2.9.2","v2.9.1","v2.9.0","v2.8.0","v2.7.0","v2.6.0","v2.5.1","v2.5.0","v2.4.0","v2.3.1","v2.3.0","v2.2.1","v2.2.0","v2.1.2","v2.1.0","v2.0.0","v1.4.0","v1.3.0","v1.2.1","v1.2.0","v1.1.0","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46871.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}