Skip to content

hexpm

Cross-site scripting (XSS) in OAuth Device Authorization screen

CVE-2026-21618Published 19 Jan 2026, 14:22 UTC

Real-world risk

4.8/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.5

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from EEF)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
hexpmNiche>= 2025-10-01, < 2026-01-192026-01-19

What to do

Update to a fixed version: 2026-01-19.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.3% chance of exploitation in 30 days (percentile 25), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.700
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.7 × threat 0.854.760
  4. Rounded to one decimal between 0.1 and 104.8

How the score works

Exploitation and evidence timeline

  1. 19 Jan 2026 Published
  2. 3 Dec 2026 Risk 4.8 (cvss fallback)

Weakness

CWE-79

References

Get alerts for hexpm

Free email or text alerts when a vulnerability in hexpm reaches risk 8 or higher. Nothing else.