CVE-2025-6563

Cross-site scripting via dst parameter in RouterOS WiFi hotspot

State
Published
Severity
4.8 Medium
Published
Jul 3, 2025
Updated
Jul 3, 2025
Reserved
Jun 24, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NToreon

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
RouterOSMikroTik
  • before 7.19.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.