Reflected XSS via raw OAuth scope rendering
Published Jan 19, 2026 · Updated Jan 19, 2026
Reflected XSS in Six Colors AB Hex.pm before 2026-01-19 allows remote attackers to execute JavaScript via a crafted verification link. The render_grouped_scopes/3 routine interpolates attacker-controlled OAuth scope names and descriptions into HTML passed to raw(), bypassing output escaping. No authentication is required, but a victim must open the link; execution can read or alter data and actions within the device authorization flow.
Summary
What happened
Reflected XSS in Six Colors AB Hex.pm before 2026-01-19 allows remote attackers to execute JavaScript via a crafted verification link. The render_grouped_scopes/3 routine interpolates attacker-controlled OAuth scope names and descriptions into HTML passed to raw(), bypassing output escaping. No authentication is required, but a victim must open the link; execution can read or alter data and actions within the device authorization flow.
The record
- CVE
- CVE-2026-21618
- Published
- Jan 19, 2026
- Updated
- Jan 19, 2026
- Vendor
- Six Colors AB
- Product
- Hex.pm
- Classifications
- CWE-79, CAPEC-63, T1189
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 19, 2026CVE publishedPublication date reported by the CVE source.
- Jan 19, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2025-10-01 <2026-01-19
- Affected versionversion=617e44c71f1dd9043870205f371d375c5c4d886d <c692438684ead90c3bcbfb9ccf4e63c768c668a8
- Affected versionversion=pkg:github/hexpm/hexpm@617e44c71f1dd9043870205f371d375c5c4d886d <pkg:github/hexpm/hexpm@c692438684ead90c3bcbfb9ccf4e63c768c668a8
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- OAuth device authorization XSS regression testproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo