What’s Vulnerable › Vulnerabilities
CVE-2026-21618: Cross-site scripting (XSS) in OAuth Device Authorization screen
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-19 · updated 2026-07-24
- Weakness: CWE-79
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.
Affected products
- hexpm: from 2025-10-01 before 2026-01-19 — fixed in 2026-01-19
How to fix
Upgrade to a fixed version: hexpm 2026-01-19. Check the vendor advisory for mitigations.
References
- https://cna.erlef.org/cves/CVE-2026-21618.html
- https://github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8
- https://github.com/hexpm/hexpm/security/advisories/GHSA-6cw9-5gg4-rhpj
- https://osv.dev/vulnerability/EEF-CVE-2026-21618
Get alerted when CVE-2026-21618 or the next vulnerability affects your stack