CVE-2021-3014 Cross-site scripting in n/a
Reflected XSS in MikroTik RouterOS hotspot login page allows attackers to execute scripts in user browsers via the target parameter.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-3014?
CVE-2021-3014 is a medium-severity cross-site scripting vulnerability in Mikrotik Routeros, published on 4 Jan 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
In MikroTik RouterOS through 2021-01-04, the hotspot login page is vulnerable to reflected XSS via the target parameter.
Weakness: CWE-79
Which versions are affected by CVE-2021-3014?
It affects 1 product.
Products include Mikrotik Routeros.
How do I fix CVE-2021-3014?
No fix has been published for CVE-2021-3014 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-3014 being exploited?
There is no known exploitation of CVE-2021-3014 in the wild and no public exploit code.
Other vulnerabilities in Mikrotik Routeros
- CVE-2018-7445 MikroTik RouterOS Stack-Based Buffer Overflow
- CVE-2026-86060 MikroTik RouterOS Improper Neutralization of Argument Delimiters in a Command
- CVE-2018-14847 MikroTik Router OS Directory Traversal
- CVE-2026-67277 MikroTik RouterOS Missing Authentication for Critical Function
- CVE-2026-67279 Mikrotik RouterOS Improper Enforcement of Behavioral Workflow
Sources
Also known as GHSA-4r5v-83pg-j94v.