{"id":"CVE-2026-21618","aliases":["CVE-2026-21618","EEF-CVE-2026-21618","GHSA-6cw9-5gg4-rhpj"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site scripting (XSS) in OAuth Device Authorization screen","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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).\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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nImproper 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.","format":"markdown","source":"eef"},{"lang":"es","text":"Neutralización Inadecuada de la Entrada Durante la Generación de Páginas Web (XSS o 'cross-site scripting') vulnerabilidad en hexpm hexpm/hexpm (módulos 'Elixir.HexpmWeb.SharedAuthorizationView') permite cross-site scripting (XSS). Esta vulnerabilidad está asociada con los archivos de programa lib/hexpm_web/views/shared_authorization_view.ex y las rutinas de programa 'Elixir.HexpmWeb.SharedAuthorizationView':render_grouped_scopes/3.\n\nEste problema afecta a hexpm: desde 617e44c71f1dd9043870205f371d375c5c4d886d antes de c692438684ead90c3bcbfb9ccf4e63c768c668a8, desde pkg:github/hexpm/hexpm@617e44c71f1dd9043870205f371d375c5c4d886d antes de pkg:github/hexpm/hexpm@c692438684ead90c3bcbfb9ccf4e63c768c668a8; hex.pm: desde 2025-10-01 antes de 2026-01-19.","source":"nvd"}],"published":"2026-01-19T14:22:46.770Z","modified":"2026-11-25T06:30:20.286Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":8.5,"rating":"HIGH"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"date","introduced":"2025-10-01","fixed":"2026-01-19","status":"affected"}],"vendor":"hexpm","product":"hexpm","package":"hex.pm","cpe":"cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"git","introduced":"617e44c71f1dd9043870205f371d375c5c4d886d","fixed":"c692438684ead90c3bcbfb9ccf4e63c768c668a8","status":"affected"}],"vendor":"hexpm","product":"hexpm","package":"hexpm/hexpm","cpe":"cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*","repo":"https://github.com/hexpm/hexpm","source":"cvelist"},{"ranges":[{"type":"git","introduced":"617e44c71f1dd9043870205f371d375c5c4d886d","status":"affected","fixed":"c692438684ead90c3bcbfb9ccf4e63c768c668a8"}],"repo":"https://github.com/hexpm/hexpm","source":"eef"},{"ranges":[{"status":"affected","introduced":"2025-10-01","fixed":"2026-01-19"}],"vendor":"hex","product":"hexpm","cpe":"cpe:2.3:a:hex:hexpm:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/hexpm/hexpm/security/advisories/GHSA-6cw9-5gg4-rhpj","tags":["advisory","mitigation","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-21618.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-21618","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/hexpm/hexpm/commit/617e44c71f1dd9043870205f371d375c5c4d886d","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]}],"credits":["Joud Zakharia / zentrust partners GmbH","Jonatan Männchen / EEF","Eric Meadows-Jönsson / Hex.pm"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-01-20T16:16:45.709Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-21618","url":"https://www.cve.org/CVERecord?id=CVE-2026-21618","licence":"CVE Terms of Use","modified":"2026-11-19T09:44:16.169Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-21618","url":"https://osv.dev/vulnerability/EEF-CVE-2026-21618","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:20.286Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-21618","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21618","licence":"Public domain","modified":"2026-11-19T10:17:29.097Z"}],"updatedAt":"2026-11-25T22:59:12.933Z","epss":{"score":0.00305,"percentile":0.2513,"date":"2026-12-01T12:00:22.000Z"}}