Home / phoenixframework / phoenix_html / CVE-2026-117645
CVE-2026-117645: is it exploited, and which versions of phoenixframework phoenix_html are affected and fixed?
CVE-2026-117645 is a cross-site scripting (XSS) vulnerability in phoenixframework phoenix_html. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: phoenix_html from 1.0.0 before 3.3.5 and phoenix_html from 4.0.0 before 4.4.0 (CVE record by EEF). Fixed in 3.3.5 and 4.4.0 (CVE record by EEF). Severity: Medium (5.3, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 20, 2026, 06:15 UTC and NVD November 20, 2026, 07:04 UTC.
What is CVE-2026-117645?
Phoenix.HTML vulnerable to attribute injection via unvalidated attribute names in attributes_escape/1
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in phoenixframework phoenix_html allows an attacker who controls attribute names to inject attributes and script into rendered HTML via Phoenix.HTML.attributes_escape/1. attributes_escape/1 in lib/phoenix_html.ex escapes attribute values but not attribute names. key_escape/1 passes a binary key through html_escape, which neutralizes quotes and angle brackets but not whitespace, so a key such as x onmouseover ends the attribute and starts a new one. An atom key is only dasherized, so any character passes, including quotes and >. Nested data, aria and phx keys take the same paths. An application is affected when it builds attribute keys from untrusted input and renders them through HEEx <tag {@attrs}>, content_tag/3, or a direct call. Before 3.0.0 the same code lived in Phoenix.HTML.Tag. This issue affects phoenix_html: from 1.0.0 before 3.3.5 and from 4.0.0 before 4.4.0.
From the CVE record by EEF, last updated November 20, 2026, 05:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| phoenixframework | phoenix_html | from 1.0.0 before 3.3.5 from 4.0.0 before 4.4.0 | 3.3.5, 4.4.0 |
| phoenixframework | phoenix_html phoenixframework/phoenix_html | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-117645?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-117645 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 6, 2026)
- EPSS
- 0.43% probability of exploitation activity in the next 30 days, percentile 38.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Is there a workaround? (from the CVE record)
Do not derive attribute names from untrusted input. Where dynamic attribute keys are needed, check each key against an allow list, or against a pattern such as ^[a-zA-Z][a-zA-Z0-9:._-]*$, before passing the map to attributes_escape/1 or a HEEx {@attrs} expression. Do not create atoms from request data.
Where are the vendor advisories and references?
- EEF CNA record for CVE-2026-117645 related, third-party-advisory
- OSV record EEF-CVE-2026-117645 related
- Introducing commit 6ad3a1d in phoenixframework/phoenix_html related
- Fix commit a47dc89 in phoenixframework/phoenix_html patch
- Fix commit d9e4e6b in phoenixframework/phoenix_html patch
Who found and reported it?
- Andrew Moore (finder)
- Andrew Moore (reporter)
- Jonatan Männchen / EEF (coordinator)
- Steffen Deusch (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 30, 2026
- Published
- October 30, 2026, 20:25 UTC
- CVE record updated
- November 20, 2026, 05:59 UTC by EEF
- NVD
- Awaiting Analysis, last modified November 20, 2026, 06:17 UTC
- Last checked
- CVE list November 20, 2026, 06:15 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect phoenix_html?
- Jan 10, 2023CVE-2021-46871 Phoenixframework Phoenix Html: cross-site scripting (XSS)
Questions about CVE-2026-117645
Is CVE-2026-117645 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.43% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of phoenixframework phoenix_html are affected by CVE-2026-117645?
phoenix_html from 1.0.0 before 3.3.5 and phoenix_html from 4.0.0 before 4.4.0, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-117645?
3.3.5 and 4.4.0, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-117645?
Medium (5.3, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-117645?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.