Security mailing lists by PureSourceCode

CVE-2021-46871

MEDIUM 6.1CVSS 3.1

phoenix_html allows Cross-site Scripting in HEEx class attributes

tag.ex in Phoenix Phoenix.HTML (aka phoenix_html) before 3.0.4 allows XSS in HEEx class attributes.

Published
10 Jan 2023
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-5g2h-9x5v-5h3xGHSA-j3gg-r6gp-95q2
Sources
NVDJSONOSV GHSA-5g2h-9x5v-5h3xJSONOSV GHSA-j3gg-r6gp-95q2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD phoenixframework phoenix_html
cpe:2.3:a:phoenixframework:phoenix_html:*:*:*:*:*:*:*:*
< 3.0.4 3.0.4
OSV npm phoenix_html < 3.0.4 3.0.4
OSV Hex phoenix_html < 3.0.4 3.0.4

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 10 Jan 2023)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Apr 2022)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 10 Jan 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.