CVE-2025-6563: Cross-site scripting via dst parameter in RouterOS WiFi hotspot

CVE-2025-6563 affects 203 listed versions of MikroTik RouterOS in the Dawnsentry catalogue.

4.8CVSS medium
Proof of concept publicexploitation
2%EPSS (next 30 days)
3 July 2025published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

MikroTik RouterOS

203 of 250 listed versions are affected. Fixed in 7.19.2. The newest release, 7.25.2, is not affected.

7.19.1 7.19 7.18.2 7.18.1 7.18 7.17.2 7.17.1 7.17 7.16.2 7.16.1 7.16 7.15.3 7.15.2 7.15.1 7.15 7.14.3 7.14.2 7.14.1 7.14 7.13.5 7.13.4 7.13.3 7.13.2 7.13.1 7.13 7.12.2 7.12.1 7.12 7.11.3 7.11.2 7.11.1 7.11 7.10.2 7.10.1 7.10 7.9.2 7.9.1 7.9 7.8 7.7 7.6 7.5 7.4.1 7.4 7.3.1 7.3 7.2.3 7.2.2 7.2.1 7.2 7.1.5 7.1.4 7.1.3 7.1.2 7.1.1 7.1 7.0 6.83.3 6.49.23 6.49.22 and 143 more

What it is

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.

CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X (Toreon)

Published by Toreon on 3 July 2025. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2025-6563 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.