LiveActive security incident?Get immediate response
CVE Record

CVE-2026-21618: Cross-site scripting (XSS) in OAuth Device Authorization screen

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 hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8; hex.pm: from 2025-10-01 before 2026-01-19.

HighCVSS 8.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A cross-site scripting flaw in Hex.pm’s OAuth device authorization screen could cause malicious content to run in an approving user’s browser. Successful abuse requires user interaction but may compromise information or actions within that browser session. The supplied record rates it high severity.

Executive priority

Treat as a high-priority web security update where affected hexpm code is self-hosted or externally reachable. Confirm versions promptly and patch. For hosted hex.pm usage, assess whether sensitive authorization activity occurred during the documented window; active exploitation is not established.

Technical view

CVE-2026-21618 is CWE-79 in Elixir.HexpmWeb.SharedAuthorizationView, specifically render_grouped_scopes/3. Improper output neutralization affects hexpm code from commit 617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8, and hosted hex.pm from October 1, 2025 before January 19, 2026. CVSS 4.0 is 8.5.

Likely exposure

Exposure is most likely for self-hosted hexpm deployments running the stated commit range. The hosted hex.pm service was affected during the specified 2025-10-01 through 2026-01-18 period. The bundle does not establish which organizations or users encountered malicious input.

Exploitation context

The CVSS vector indicates network reachability, low complexity, no privileges, and required active user interaction. KEV is false, and the supplied sources provide no evidence of active exploitation. Details sufficient for reliable exploitation are not established in the bundle.

Researcher notes

The vulnerable routine and fixing commit are identified, but the bundle does not document the controllable input source, exact payload path, observed attacks, or confirmed victim impact. Validation should focus on version provenance and safe rendering behavior without assuming exploitability beyond the published CVSS conditions.

Mitigation direction

  • Update self-hosted hexpm to commit c692438684ead90c3bcbfb9ccf4e63c768c668a8 or a later vendor-approved release.
  • Review the Hexpm advisory for supported release and deployment guidance.
  • Prioritize systems exposing OAuth device authorization to untrusted users.
  • Consider session review or revocation where suspicious authorization activity is identified.

Validation and detection

  • Identify the deployed hexpm commit or release and compare it with the affected range.
  • Confirm the patched output-neutralization change is present in shared_authorization_view.ex.
  • Test authorization scope rendering with safely encoded special characters in a controlled environment.
  • Review authorization and web logs for anomalous device-flow activity during the exposure window.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-21618 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.5 (4.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.5CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N——EEF

Vulnerability scoring details

Base CVSS 4.0 score

8.5High
CVSS 4.0 vector shape for CVE-2026-21618Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
hexpmhexpmhexpm/hexpm, 617e44c71f1dd9043870205f371d375c5c4d886dunaffected
hexpmhex.pm2025-10-01unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.