{"id":"CVE-2026-21618","summary":"Cross-site scripting (XSS) in OAuth Device Authorization screen","details":"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.\n\nThis issue affects hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8; hex.pm: from 2025-10-01 before 2026-01-19.","aliases":["EEF-CVE-2026-21618","GHSA-6cw9-5gg4-rhpj"],"modified":"2026-08-12T03:51:26.047264991Z","published":"2026-01-19T14:22:46.770Z","database_specific":{"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"617e44c71f1dd9043870205f371d375c5c4d886d"},{"fixed":"c692438684ead90c3bcbfb9ccf4e63c768c668a8"},{"introduced":"2025-10-01"},{"fixed":"2026-01-19"}]},{"source":"DESCRIPTION","extracted_events":[{"introduced":"617e44c71f1dd9043870205f371d375c5c4d886d"},{"fixed":"c692438684ead90c3bcbfb9ccf4e63c768c668a8"},{"introduced":"2025-10-01"},{"fixed":"2026-01-19"}]}],"cna_assigner":"EEF","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21618.json"},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-21618.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-21618"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21618.json"},{"type":"ADVISORY","url":"https://github.com/hexpm/hexpm/security/advisories/GHSA-6cw9-5gg4-rhpj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21618"},{"type":"FIX","url":"https://github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8"},{"type":"PACKAGE","url":"https://github.com/hexpm/hexpm.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hexpm/hexpm","events":[{"introduced":"0"},{"fixed":"c692438684ead90c3bcbfb9ccf4e63c768c668a8"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21618.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}