CVE-2026-21618: Hex Hexpm

Medium severity, CVSS 6.1. EPSS: 0.4% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Hex Hexpm, from 2025-10-01, before 2026-01-19: fixed in 2026-01-19

Affected products

  • Hex Hexpm: from 2025-10-01, before 2026-01-19 (fixed in 2026-01-19)

Published 2026-01-19. Last modified 2026-11-19.