The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-61481

CVE-2025-61481: MikroTik RouterOS/SwOS XSS Vulnerability

CVE-2025-61481 is an XSS vulnerability in MikroTik RouterOS v.7.14.2 and SwOS v.2.18 where cleartext HTTP exposure allows attackers to inject JavaScript and steal credentials. This post covers technical details, impact, and fixes.

Published: March 11, 2026

CVE-2025-61481 Overview

An issue in MikroTik RouterOS v.7.14.2 and SwOS v.2.18 exposes the WebFig management interface over cleartext HTTP by default, allowing an on-path attacker to execute injected JavaScript in the administrator's browser and intercept credentials. This insecure default configuration vulnerability enables man-in-the-middle attacks where attackers positioned on the network path can inject malicious scripts and capture sensitive authentication data.

Critical Impact

On-path attackers can inject arbitrary JavaScript into administrator browser sessions and intercept credentials due to cleartext HTTP exposure of the WebFig management interface.

Affected Products

  • MikroTik RouterOS v.7.14.2
  • MikroTik SwOS v.2.18
  • MikroTik devices with WebFig management interface enabled

Discovery Timeline

  • 2025-10-27 - CVE-2025-61481 published to NVD
  • 2025-10-30 - Last updated in NVD database

Technical Details for CVE-2025-61481

Vulnerability Analysis

This vulnerability is classified under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor). The WebFig management interface, which provides a web-based GUI for configuring MikroTik RouterOS and SwOS devices, is exposed over cleartext HTTP by default. This fundamental security misconfiguration creates a significant attack surface where any attacker with network visibility can observe and manipulate traffic between administrators and their network devices.

The lack of TLS encryption on the management interface means that all data transmitted—including administrative credentials, configuration changes, and session tokens—travels across the network in plaintext. This allows on-path attackers to not only passively intercept credentials but also actively inject malicious JavaScript code into HTTP responses served by the WebFig interface.

Root Cause

The root cause of this vulnerability is an insecure default configuration in MikroTik RouterOS and SwOS. The WebFig management interface does not enforce HTTPS by default, leaving the critical administrative channel unprotected. Network infrastructure devices are high-value targets, and exposing their management interfaces over HTTP violates fundamental security principles for administrative access.

Attack Vector

The attack vector is network-based, requiring the attacker to be positioned on the network path between the administrator and the MikroTik device. This could be achieved through ARP spoofing, DNS hijacking, compromised network infrastructure, or physical access to network segments. Once in position, the attacker can perform man-in-the-middle attacks to:

  1. Credential Interception: Capture administrator usernames and passwords transmitted in cleartext during login
  2. JavaScript Injection: Modify HTTP responses to inject malicious JavaScript that executes in the administrator's browser context
  3. Session Hijacking: Capture session cookies or tokens to impersonate authenticated administrators
  4. Configuration Manipulation: Modify configuration commands in transit to alter device settings

The vulnerability does not require any privileges or user interaction beyond normal administrative access to the device. An attacker successfully exploiting this vulnerability could gain complete control over affected network infrastructure devices.

Detection Methods for CVE-2025-61481

Indicators of Compromise

  • Unexpected HTTP traffic on port 80 to MikroTik device management interfaces from internal network segments
  • ARP spoofing or cache poisoning indicators on network segments where MikroTik devices are managed
  • Anomalous JavaScript content in HTTP responses from MikroTik WebFig interfaces
  • Login failures followed by successful authentication from different source IPs

Detection Strategies

  • Monitor network traffic for cleartext HTTP sessions to MikroTik device management interfaces using network intrusion detection systems
  • Implement network segmentation monitoring to detect unauthorized access to management network segments
  • Deploy SentinelOne agents on administrator workstations to detect malicious JavaScript execution patterns
  • Configure alerts for authentication anomalies on MikroTik devices through syslog monitoring

Monitoring Recommendations

  • Enable comprehensive logging on MikroTik devices and forward logs to a centralized SIEM solution
  • Monitor for configuration changes made through the WebFig interface, especially from unexpected source addresses
  • Implement network traffic analysis to identify potential man-in-the-middle attack indicators
  • Review administrator access patterns regularly to identify potential credential compromise

How to Mitigate CVE-2025-61481

Immediate Actions Required

  • Enable HTTPS on the WebFig management interface and disable HTTP access immediately
  • Restrict management interface access to dedicated management VLANs with strict access controls
  • Implement certificate-based authentication for administrative access where supported
  • Audit recent administrative sessions for signs of compromise or unauthorized configuration changes

Patch Information

Organizations should update to the latest versions of MikroTik RouterOS and SwOS that address this insecure default configuration. Refer to the MikroTik WebFig Documentation and MikroTik SwOS Documentation for guidance on enabling secure HTTPS access. Additional technical analysis is available from the Svarthatt CVE-2025-61481 Analysis.

Workarounds

  • Configure the WebFig interface to listen only on HTTPS (port 443) and disable HTTP (port 80) access
  • Place MikroTik management interfaces on isolated management networks not accessible from general user segments
  • Use VPN tunnels for remote administrative access to ensure encryption of management traffic
  • Implement network access controls to restrict which hosts can reach management interfaces
bash
# Configuration example - Enable HTTPS and disable HTTP on MikroTik RouterOS
# Access via SSH or console and execute:

/ip service set www disabled=yes
/ip service set www-ssl address=192.168.88.0/24 disabled=no
/certificate add name=webfig-cert common-name=router.local days-valid=365
/ip service set www-ssl certificate=webfig-cert

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechMikrotik Routeros

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-200
  • Technical References
  • MikroTik WebFig Documentation

  • MikroTik SwOS Documentation

  • Svarthatt CVE-2025-61481 Analysis
  • Related CVEs
  • CVE-2023-30799: MikroTik RouterOS Privilege Escalation Flaw

  • CVE-2025-10948: MikroTik RouterOS Buffer Overflow Flaw

  • CVE-2024-54772: MikroTik RouterOS Information Disclosure

  • CVE-2020-11881: MikroTik RouterOS DoS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English