Cross-site scripting via unchecked dst scheme
Published Jul 3, 2025 · Updated Jul 3, 2025
Cross-site scripting in MikroTik RouterOS hotspot before 7.19.2 allows remote attackers to execute script in a victim's browser. The hotspot login handler accepts a javascript scheme in dst and redirects an authenticated browser to that value without restricting it to HTTP or HTTPS. A victim must reach the crafted hotspot URL and either log in or be logged into the attacker's account before script executes in the hotspot origin.
Summary
What happened
Cross-site scripting in MikroTik RouterOS hotspot before 7.19.2 allows remote attackers to execute script in a victim's browser. The hotspot login handler accepts a javascript scheme in dst and redirects an authenticated browser to that value without restricting it to HTTP or HTTPS. A victim must reach the crafted hotspot URL and either log in or be logged into the attacker's account before script executes in the hotspot origin.
The record
- CVE
- CVE-2025-6563
- Published
- Jul 3, 2025
- Updated
- Jul 3, 2025
- Vendor
- MikroTik
- Product
- RouterOS
- Classifications
- CWE-20, T1189
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 3, 2025CVE publishedPublication date reported by the CVE source.
- Jul 3, 2025Record 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 <7.19.2
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
- RouterOS hotspot dst XSS demonstrationproof 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