CVE-2026-21618: hexpm · Cross-site Scripting
Affects hexpmSource CVE Database V5
Not known to be exploited · CVSS 8.5 High : upgrade to 2026-01-19 soon.
Data as of 19 Nov 2026, 09:55 UTC
Thin evidence
One scorer or none| CNA (EEF) | CVSS 4.0 | 8.5 |
|---|
- CISA SSVC
- Exploitation
- No evidence of active exploitation and no public proof of concept
- Automatable
- Attackers can reliably automate steps 1–4 of the kill chain
- Technical impact
- Total control over the software or total information disclosure
CISA SSVC assessment, 2026-01-20.
- Patch
- Available – fixed in 2026-01-19, c692438684ead90c3bcbfb9ccf4e63c768c668a8
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade hexpm and hex.pm to 2026-01-19; hexpm to c692438684ead90c3bcbfb9ccf4e63c768c668a8.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| hexpmhex.pm | Affected
| Fixed in
|
| hexpmhexpm/hexpm | Affected
| Fixed in
|
Hexhex.pmpkg:hex/hex.pmOther threats | Affected
| Fixed in
|
CPE configurations (1)
cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix for this vulnerability is available in hexpm version 2026-01-19. Users and administrators should upgrade to this version or later to remediate the issue. No additional mitigation steps are indicated by the vendor advisory.
Description
CVE-2026-21618 is a high-severity Cross-Site Scripting (XSS) vulnerability in the hexpm package repository software. It affects the Elixir.HexpmWeb.SharedAuthorizationView module, specifically the render_grouped_scopes/3 function. The flaw allows improper neutralization of input during web page generation, potentially enabling XSS attacks. This vulnerability affects versions from 2025-10-01 up to but not including 2026-01-19. A fix was released in version 2026-01-19.
References
- github.com/hexpm/hexpm/security/advisories/GHSA-6cw9-5gg4-rhpj (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-21618.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-21618 (opens in a new tab)
- github.com/hexpm/hexpm/commit/617e44c71f1dd9043870205f371d375c5c4d886d (opens in a new tab)
- github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8 (opens in a new tab)