CVE-2026-21618 Details
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. This issue affects hex.pm: from 2025-10-01 before 2026-01-19; hexpm/hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8.
A cross-site scripting (XSS) vulnerability has been identified in the Hexpm web application, specifically within the Shared Authorization View module. This issue allows for improper neutralization of input during web page generation, which can be exploited to execute arbitrary JavaScript in the context of the user's browser. The vulnerability arises from the OAuth Device Authorization flow, where crafted parameters are reflected in the device verification page without adequate output encoding. As a result, an attacker can send a link containing a malicious script to a victim, who, upon opening the link, would inadvertently execute the script in their browser. This vulnerability affects Hexpm versions from 617e44c71f1dd9043870205f371d375c5c4d886d prior to c692438684ead90c3bcbfb9ccf4e63c768c668a8.
Users can update to Hexpm version c692438684ead90c3bcbfb9ccf4e63c768c668a8 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | EEF |
Affected Products
| Product | Versions |
|---|---|
| hex hexpm | >= 2025-10-01, < 2026-01-19 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 19, 2026 | CVE Modified | EEF |
| Jul 24, 2026 | CVE Modified | EEF |
| Jun 17, 2026 | CVE Modified | EEF |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 6, 2026 | CVE Modified | EEF |
| Mar 25, 2026 | Initial Analysis | [email protected] |
| Jan 19, 2026 | New CVE Received | EEF |