CVE-2026-117645
Last modified
CVE-2026-117645 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| phoenixframework | phoenix_html | >= 1.0.0, < 3.3.5; >= 4.0.0, < 4.4.0 |
| phoenixframework | phoenix_html | >= 6ad3a1d7960891a468d54636054a98e11dfb5111, < * |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-117645?
How severe is CVE-2026-117645?
How do I fix CVE-2026-117645?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-117625A missing permission check in Jenkins 2.587 and earlier, LTS…4.3
- CVE-2026-117626Jenkins 2.587 and earlier, LTS 2.580.1 and earlier improperl…4.3
- CVE-2026-117627A flaw was found in the JWT Authorization Grant implementati…5.4
- CVE-2026-11763Authorization bypass through User-Controlled key vulnerabili…6.5
- CVE-2026-117635The `/api/v1/admin` route group did not enforce the `public-…6.5
- CVE-2026-11764When creating an export of all reusable media, the secrets o…3.6
- CVE-2026-117646The repositories, stars and watching tabs of user profiles a…4.3
- CVE-2026-117649The issue timeline API and the web issue page hid cross-refe…3.5
- CVE-2026-11765Improper neutralization of argument delimiters in a command …3.3
- CVE-2026-117656Acceptance of Extraneous Untrusted Data With Trusted Data vu…9.3
- CVE-2026-11766The Ultimate Member WordPress plugin before 2.12.0 does not…8
- CVE-2026-117666Improper Validation of Certificate with Host Mismatch vulner…9.1
Are you affected by CVE-2026-117645?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
