Cross-site scriptingin MikroTik RouterOS.
Proof of concept public (Exploit-DB).
A cross-site scripting vulnerability is present in the hotspot of MikroTik's RouterOS on versions below 7.19.2. An attacker can inject the `javascript` protocol in the `dst` parameter. When the victim browses to the malicious URL and logs in, the XSS executes. The POST request used to login, can also be converted to a GET request, allowing an attacker to send a specifically crafted URL that automatically logs in the victim (into the attacker's account) and triggers the payload.
- Upgrade RouterOS to 7.19.2 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 2 Jun 2025First public proof of concept on GitHub.
- 24 Jun 2025CVE ID reserved by Toreon.
- 3 Jul 2025Published in the CVE List.
- 3 Jul 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other RouterOS vulnerabilities
Same weakness: Improper input validation
Patchminder. CVE-2025-6563: Cross-site scripting in MikroTik RouterOS. https://patchminder.com/cve/cve-2025-6563/ (accessed 5 December 2026).