banner logoJoin us at RSAC™ 2026 Conference, March 23–March 26 | North Expo, Booth N-5863Join us at RSAC™ 2026, March 23–March 26Learn More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-61640

CVE-2025-61640: MediaWiki XSS Vulnerability

CVE-2025-61640 is a cross-site scripting flaw in MediaWiki that allows attackers to inject malicious scripts. This post covers the technical details, affected versions before 1.39.14, 1.43.4, and 1.44.1, and mitigation.

Published: February 6, 2026

CVE-2025-61640 Overview

CVE-2025-61640 is a Cross-Site Scripting (XSS) vulnerability affecting Wikimedia Foundation MediaWiki. The vulnerability stems from improper neutralization of input during web page generation in the RclToOrFromWidget.js file within the MediaWiki Recent Changes filters UI component. This flaw allows attackers to inject malicious scripts through user-controllable input that is not properly sanitized before being rendered in web pages.

Critical Impact

Attackers could potentially execute arbitrary JavaScript in the context of authenticated MediaWiki users, leading to session hijacking, content manipulation, or theft of sensitive information.

Affected Products

  • MediaWiki versions before 1.39.14
  • MediaWiki versions before 1.43.4
  • MediaWiki versions before 1.44.1

Discovery Timeline

  • 2026-02-03 - CVE CVE-2025-61640 published to NVD
  • 2026-02-03 - Last updated in NVD database

Technical Details for CVE-2025-61640

Vulnerability Analysis

This vulnerability exists in the MediaWiki Recent Changes filters user interface, specifically within the resources/src/mediawiki.Rcfilters/ui/RclToOrFromWidget.js JavaScript component. The RclToOrFromWidget handles user filtering operations for the Recent Changes page, a core feature that allows wiki users to track and filter edits made across the platform.

The vulnerability arises from insufficient input validation and output encoding when user-supplied data is processed and rendered by the widget. When user input passes through the RclToOrFromWidget without proper sanitization, malicious JavaScript code can be injected and executed in the browser context of other users viewing the affected pages.

Root Cause

The root cause is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). The RclToOrFromWidget.js component fails to properly sanitize or encode user-controllable input before incorporating it into the Document Object Model (DOM). This allows specially crafted input containing JavaScript code to be interpreted and executed by the victim's browser rather than being treated as plain text data.

Attack Vector

The attack vector is network-based, requiring an attacker to craft malicious input that reaches the vulnerable widget component. The exploitation scenario typically involves an authenticated attacker with the ability to influence content that passes through the Recent Changes filter system. When other users interact with the affected interface elements, the injected script executes within their browser session.

The vulnerability requires user interaction for successful exploitation, as victims must access or interact with the compromised widget interface. Additionally, the attacker requires elevated privileges to position the malicious payload where it can be processed by the vulnerable component.

The attack flow involves the attacker submitting crafted input containing malicious JavaScript, the vulnerable widget processing this input without adequate sanitization, and ultimately the victim's browser executing the injected script when rendering the affected page content.

Detection Methods for CVE-2025-61640

Indicators of Compromise

  • Unusual JavaScript execution or DOM manipulation attempts in MediaWiki Recent Changes pages
  • Log entries showing suspicious filter parameters or encoded script content in URL parameters
  • User reports of unexpected browser behavior or pop-ups when using Recent Changes functionality

Detection Strategies

  • Monitor web application logs for requests containing suspicious script tags or JavaScript event handlers in filter-related parameters
  • Implement Content Security Policy (CSP) violation logging to detect attempted script injection
  • Deploy web application firewall (WAF) rules to flag requests with XSS payload patterns targeting MediaWiki endpoints

Monitoring Recommendations

  • Enable verbose logging for the MediaWiki Recent Changes module to capture filter parameter values
  • Configure real-time alerting for CSP violations originating from MediaWiki installations
  • Regularly audit user activity logs for accounts submitting unusual or encoded content to filter interfaces

How to Mitigate CVE-2025-61640

Immediate Actions Required

  • Upgrade MediaWiki to version 1.39.14, 1.43.4, or 1.44.1 (or later) depending on your current release branch
  • Review and audit any customizations to the Recent Changes filter components
  • Consider temporarily disabling or restricting access to Recent Changes filters for untrusted users until patching is complete

Patch Information

Wikimedia Foundation has released security patches addressing this vulnerability. Detailed information about the fix is available in the Wikimedia Task T402075. Organizations running affected MediaWiki versions should update to the patched releases:

  • Version 1.39.14 for the 1.39.x LTS branch
  • Version 1.43.4 for the 1.43.x branch
  • Version 1.44.1 for the 1.44.x branch

Workarounds

  • Implement a Content Security Policy (CSP) with strict script-src directives to limit script execution sources
  • Deploy WAF rules to filter common XSS patterns in requests to MediaWiki endpoints
  • Restrict access to the Recent Changes interface to trusted authenticated users only until patches can be applied
bash
# Example Content Security Policy header configuration for Apache
# Add to your MediaWiki virtual host configuration
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self';"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechMediawiki

  • SeverityNONE

  • CVSS Score0.0

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:N/VI:N/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Wikimedia Task T402075
  • Related CVEs
  • CVE-2025-6595: Wikimedia MultimediaViewer XSS Vulnerability

  • CVE-2025-6594: MediaWiki XSS Vulnerability

  • CVE-2025-67475: MediaWiki XSS Vulnerability

  • CVE-2025-67481: MediaWiki XSS 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
  • English
  • 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