Cross-site scripting via unsafe returnURL navigation
Published Jun 21, 2026 · Updated Jun 21, 2026
Cross-site scripting in Kortix Suna 0.8.0 through 0.8.38 allows remote attackers to execute JavaScript through a crafted returnURL. The Auth Endpoint reads returnURL from the query string and passes it without scheme validation to router.replace or router.push after authentication. A victim must follow the crafted authentication link and already have a session or complete authentication, after which a javascript URL executes in the browser.
Summary
What happened
Cross-site scripting in Kortix Suna 0.8.0 through 0.8.38 allows remote attackers to execute JavaScript through a crafted returnURL. The Auth Endpoint reads returnURL from the query string and passes it without scheme validation to router.replace or router.push after authentication. A victim must follow the crafted authentication link and already have a session or complete authentication, after which a javascript URL executes in the browser.
The record
- CVE
- CVE-2026-12811
- Published
- Jun 21, 2026
- Updated
- Jun 21, 2026
- Vendor
- Kortix
- Product
- Suna
- Classifications
- CWE-79, CWE-94, T1204.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 21, 2026CVE publishedPublication date reported by the CVE source.
- Jun 21, 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=0.8.0
- Affected versionversion=0.8.1
- Affected versionversion=0.8.10
- Affected versionversion=0.8.11
- Affected versionversion=0.8.12
- Affected versionversion=0.8.13
- Affected versionversion=0.8.14
- Affected versionversion=0.8.15
- Affected versionversion=0.8.16
- Affected versionversion=0.8.17
- Affected versionversion=0.8.18
- Affected versionversion=0.8.19
- Affected versionversion=0.8.2
- Affected versionversion=0.8.20
- Affected versionversion=0.8.21
- Affected versionversion=0.8.22
- Affected versionversion=0.8.23
- Affected versionversion=0.8.24
- Affected versionversion=0.8.25
- Affected versionversion=0.8.26
- Affected versionversion=0.8.27
- Affected versionversion=0.8.28
- Affected versionversion=0.8.29
- Affected versionversion=0.8.3
- Affected versionversion=0.8.30
- Affected versionversion=0.8.31
- Affected versionversion=0.8.32
- Affected versionversion=0.8.33
- Affected versionversion=0.8.34
- Affected versionversion=0.8.35
- Affected versionversion=0.8.36
- Affected versionversion=0.8.37
- Affected versionversion=0.8.38
- Affected versionversion=0.8.4
- Affected versionversion=0.8.5
- Affected versionversion=0.8.6
- Affected versionversion=0.8.7
- Affected versionversion=0.8.8
- Affected versionversion=0.8.9
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.
Public exploit references
- Suna returnURL DOM XSS proof of conceptproof of concept · unverified
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