XSS in Hex Hexpm
CVE-2026-21618
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 18.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Hex Hexpm
- Hexpm Hex.pm — versions 2025-10-01
- Hexpm — versions 617e44c71f1dd9043870205f371d375c5c4d886d
Weakness classification (CWE)
References
- github.com/hexpm/hexpm/security/advisories/GHSA-6cw9-5gg4-rhpj (related, vendor-advisory, Mitigation, Vendor Advisory)
- cna.erlef.org/cves/CVE-2026-21618.html (related)
- osv.dev/vulnerability/EEF-CVE-2026-21618 (related)
- github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8 (Patch, patch)