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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-01-19 · Modified: 2026-11-19
- Record: https://cvemate.com/vulnerability/CVE-2026-21618 · JSON: https://cvemate.com/vulnerability/CVE-2026-21618/json

## Description

```text
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.
```

## Signals

- CVSS: 8.5 high (v4.0, CVE.org) 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
- EPSS: 0.305%, percentile 25.092%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- hex hexpm: ≥ 2025-10-01, \< 2026-01-19
- hexpm hexpm: ≥ 2025-10-01, \< 2026-01-19 \| ≥ 617e44c71f1dd9043870205f371d375c5c4d886d, \< c692438684ead90c3bcbfb9ccf4e63c768c668a8

## 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>
- <https://github.com/hexpm/hexpm/commit/617e44c71f1dd9043870205f371d375c5c4d886d>

---

Data as of 2026-12-05T07:00:37.801Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
