Medium severity · published Jan 19, 2026
CVE-2026-21618
Cross-site scripting (XSS) in OAuth Device Authorization screen
6.1
CVSS
0.3%
EPSS
No
On KEV
Description
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 hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8; hex.pm: from 2025-10-01 before 2026-01-19.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 18% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HE
hex.pm · hexpm
2025-10-01 before 2026-01-19 · source: vendor
HE
hexpm · hexpm
617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-21618
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-21618
cna.erlef.org
https://cna.erlef.org/cves/CVE-2026-21618.html
Patch
https://github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8
Mitigation
https://github.com/hexpm/hexpm/security/advisories/GHSA-6cw9-5gg4-rhpj
osv.dev
https://osv.dev/vulnerability/EEF-CVE-2026-21618
More from hex.pm
9.8
CVE-2026-21622
Password Reset Tokens Do Not Expire
5.3
CVE-2026-21621
Improper Scope Enforcement in OAuth client_credentials Flow Allows Read-Only API Key to Escalate to Full Access
