{"schemaVersion":3,"id":"CVE-2026-21618","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.\n\nThis issue affects hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8; hex.pm: from 2025-10-01 before 2026-01-19.","dates":{"published":"2026-01-19T14:22:46.770Z","modified":"2026-07-24T14:16:04.791Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.5,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.5,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.5,"severity":"high","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00261,"percentile":0.16677,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.005999999999999972,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00255},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00261,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00261,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00261,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00261,"percentile":0.16677}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00261,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00261,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00261,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00261,"percentile":0.16677}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"hex","product":"hexpm","name":"hexpm","label":"hexpm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2025-10-01, < 2026-01-19","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2025-10-01, < 2026-01-19","eol":null,"hubHref":"/vendor/hex/hexpm"},{"vendor":"hexpm","product":"hexpm","name":"hexpm","label":"hexpm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 617e44c71f1dd9043870205f371d375c5c4d886d, < c692438684ead90c3bcbfb9ccf4e63c768c668a8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2025-10-01, < 2026-01-19","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 617e44c71f1dd9043870205f371d375c5c4d886d, < c692438684ead90c3bcbfb9ccf4e63c768c668a8 | ≥ 2025-10-01, < 2026-01-19","eol":null,"hubHref":"/vendor/hexpm/hexpm"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/hexpm/hexpm/security/advisories/GHSA-6cw9-5gg4-rhpj","label":"github.com/hexpm/hexpm/security/advisories/GHSA-6cw9-5gg4-rhpj","hostname":"github.com","tags":["Vendor Advisory","Related","Mitigation"]},{"url":"https://cna.erlef.org/cves/CVE-2026-21618.html","label":"cna.erlef.org/cves/CVE-2026-21618.html","hostname":"cna.erlef.org","tags":["Related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-21618","label":"osv.dev/vulnerability/EEF-CVE-2026-21618","hostname":"osv.dev","tags":["Related"]},{"url":"https://github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8","label":"github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8","hostname":"github.com","tags":["Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-01-19T14:22:46.770Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-24T14:16:04.791Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T08:23:29.219Z","stale":false,"partial":false}}