{"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).\n\nThis 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 hex.pm: from 2025-10-01 before 2026-01-19; hexpm/hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8.","aliases":["EEF-CVE-2026-21618","GHSA-6cw9-5gg4-rhpj"],"modified":"2026-11-20T19:46:04.581982298Z","published":"2026-01-19T14:22:46.770Z","database_specific":{"cna_assigner":"EEF","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21618.json","unresolved_ranges":[{"extracted_events":[{"range":[{"introduced":"2025-10-01"},{"fixed":"2026-01-19"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}]},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-21618.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://hex.pm"},{"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/617e44c71f1dd9043870205f371d375c5c4d886d"},{"type":"FIX","url":"https://github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8"},{"type":"PACKAGE","url":"https://github.com/hexpm/hexpm"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hexpm/hexpm","events":[{"introduced":"617e44c71f1dd9043870205f371d375c5c4d886d"},{"fixed":"c692438684ead90c3bcbfb9ccf4e63c768c668a8"},{"fixed":"617e44c71f1dd9043870205f371d375c5c4d886d"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"617e44c71f1dd9043870205f371d375c5c4d886d"},{"fixed":"c692438684ead90c3bcbfb9ccf4e63c768c668a8"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"617e44c71f1dd9043870205f371d375c5c4d886d"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"c692438684ead90c3bcbfb9ccf4e63c768c668a8"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21618.json"}}],"schema_version":"1.9.2","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"}]}