SecurityContext

CVE-2021-3014: MikroTik RouterOS - Reflected XSS

  • Cve: CVE-2021-3014
  • Name: MikroTik RouterOS - Reflected XSS
  • Description: In MikroTik RouterOS through 2021-01-04, the hotspot login page is vulnerable to reflected XSS via the target parameter.
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially stealing cookies, session tokens, or performing actions on behalf of the user.
  • Remediation: Update to the latest version of MikroTik RouterOS or apply security patches addressing the reflected XSS vulnerability.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim needs to visit a malicious page
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00941
  • Epss percentile: 0.61869
  • Assignee: [email protected]
  • Published at: 2021-01-04T19:15:15Z
  • Age in days: 2150
  • Modified at: 2026-06-17T04:04:33Z
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3014
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/M4DM0e/m4dm0e.github.io/blob/gh-pages/_posts/2021-01-04-mikrotik-xss-reflected.mdnvd2021-01-04
https://m4dm0e.github.io/2021/01/04/mikrotik-xss-reflected.htmlnvd2021-01-04

References

UrlSourceTags
https://github.com/M4DM0e/m4dm0e.github.io/blob/gh-pages/_posts/2021-01-04-mikrotik-xss-reflected.mdnvdExploit, Third Party Advisory
https://m4dm0e.github.io/2021/01/04/mikrotik-xss-reflected.htmlnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
mikrotik:routeros<= 2021-01-04nonvd/v1/products/mikrotik/routeros

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2021-01-04
  • Remote: yes
  • Exposed hosts: 1332
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports