Cross-site scripting (XSS) in OAuth Device Authorization screen
CVE-2026-21618Published 19 Jan 2026, 14:22 UTC
Real-world risk
4.8/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.5
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in hexpm hexpm/hexpm ('Elixir.HexpmWeb.SharedAuthorizationView' modules) allows Cross-Site Scripting (XSS). This vulnerability is associated with program files lib/hexpm_web/views/shared_authorization_view.ex and program routines 'Elixir.HexpmWeb.SharedAuthorizationView':render_grouped_scopes/3. This issue affects hex.pm: from 2025-10-01 before 2026-01-19; hexpm/hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| hexpmNiche | >= 2025-10-01, < 2026-01-19 | 2026-01-19 |
What to do
Update to a fixed version: 2026-01-19.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 25), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.7 × threat 0.854.760
- Rounded to one decimal between 0.1 and 104.8
Exploitation and evidence timeline
- 19 Jan 2026 Published
- 3 Dec 2026 Risk 4.8 (cvss fallback)
Weakness
CWE-79
References
- https://github.com/hexpm/hexpm/security/advisories/GHSA-6cw9-5gg4-rhpjrelated, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-21618.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-21618related
- https://github.com/hexpm/hexpm/commit/617e44c71f1dd9043870205f371d375c5c4d886drelated
- https://github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8patch
- CVE-2026-21618 on CVE.org