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

- Severity: High 8.5 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-01-19T14:22:46.770Z
- Modified: 2026-11-25T06:30:20.286Z
- Also known as: EEF-CVE-2026-21618, GHSA-6cw9-5gg4-rhpj
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: EEF

## 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 hex.pm: from 2025-10-01 before 2026-01-19; hexpm/hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8.

(As written by CVE List.)

## Affected

- hex.pm: from 2025-10-01 before 2026-01-19
- hexpm/hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8
- https://github.com/hexpm/hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8
- hex hexpm: from 2025-10-01 before 2026-01-19

## Every score

- EEF: CVSS:4.0 8.5 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/hexpm/hexpm/security/advisories/GHSA-6cw9-5gg4-rhpj> (advisory, mitigation, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-21618.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-21618> (related)
- <https://github.com/hexpm/hexpm/commit/617e44c71f1dd9043870205f371d375c5c4d886d> (related, web)
- <https://github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8> (fix, patch)

## Sources

- CVE List: [CVE-2026-21618](https://www.cve.org/CVERecord?id=CVE-2026-21618), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-21618](https://osv.dev/vulnerability/EEF-CVE-2026-21618), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-21618](https://nvd.nist.gov/vuln/detail/CVE-2026-21618), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-21618 · Whole record: https://cve.day/CVE-2026-21618.json · Rebuilt by cve.day 2026-11-25T22:59:12.933Z
