Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-61638

CVE-2025-61638: MediaWiki & Parsoid XSS Vulnerability

CVE-2025-61638 is a cross-site scripting flaw in MediaWiki and Parsoid that allows attackers to inject malicious scripts. This article covers technical details, affected versions, security impact, and mitigation.

Published: February 6, 2026

CVE-2025-61638 Overview

CVE-2025-61638 is a Cross-Site Scripting (XSS) vulnerability affecting Wikimedia Foundation's MediaWiki and Parsoid components. The vulnerability stems from improper neutralization of input during web page generation, allowing attackers to potentially inject malicious scripts into web pages rendered by affected MediaWiki installations.

The vulnerability is associated with the Sanitizer component in both MediaWiki (includes/parser/Sanitizer.php) and Parsoid (src/Core/Sanitizer.php), which are responsible for sanitizing user-supplied content before rendering.

Critical Impact

This XSS vulnerability could allow authenticated attackers to inject malicious scripts that execute in the context of other users' browsers when viewing affected wiki pages, potentially leading to session hijacking, data theft, or unauthorized actions.

Affected Products

  • MediaWiki versions before 1.39.14, 1.43.4, and 1.44.1
  • Parsoid versions before 0.16.6, 0.20.4, and 0.21.1
  • Wikimedia Foundation MediaWiki installations using vulnerable Sanitizer components

Discovery Timeline

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

Technical Details for CVE-2025-61638

Vulnerability Analysis

This Cross-Site Scripting vulnerability exists within the Sanitizer component of both MediaWiki and Parsoid. The Sanitizer is a critical security component responsible for processing and sanitizing HTML content before it is rendered to users. When user-supplied input passes through the vulnerable Sanitizer.php files, certain malicious payloads may bypass the sanitization logic and be rendered as executable script content in victims' browsers.

The vulnerability requires user interaction and low privileges to exploit, indicating that an authenticated user with limited permissions could craft malicious wiki content that, when viewed by other users, executes arbitrary JavaScript in their browser context.

Root Cause

The root cause lies in insufficient input validation and sanitization within the Sanitizer.php files in both MediaWiki (includes/parser/Sanitizer.php) and Parsoid (src/Core/Sanitizer.php). The sanitization logic fails to properly neutralize certain input patterns that can be interpreted as executable script content by web browsers. This allows specially crafted input to bypass the intended security controls designed to prevent XSS attacks.

Attack Vector

The attack is network-based and requires the following conditions:

  1. Authentication Required: The attacker must have some level of authenticated access to the MediaWiki instance
  2. User Interaction: A victim user must view the page containing the malicious payload
  3. Content Injection: The attacker crafts wiki content that exploits the sanitization bypass

When successful, the injected script executes within the security context of the wiki application, potentially allowing the attacker to steal session cookies, perform actions on behalf of the victim, or redirect users to malicious sites.

The vulnerability manifests in the Sanitizer component's parsing logic. Attackers can craft wiki markup or HTML that, when processed by the vulnerable Sanitizer, results in unsanitized script content being included in the rendered page output. For technical details, see the Wikimedia Task T401099.

Detection Methods for CVE-2025-61638

Indicators of Compromise

  • Unusual or obfuscated JavaScript patterns in wiki page content or revision history
  • Unexpected inline event handlers or script tags in wiki markup
  • User reports of unexpected browser behavior when viewing specific wiki pages
  • Suspicious wiki edits containing encoded or escaped characters that could represent script content

Detection Strategies

  • Implement web application firewall (WAF) rules to detect common XSS payload patterns targeting MediaWiki
  • Monitor wiki revision logs for suspicious content patterns, particularly in HTML attributes and event handlers
  • Deploy browser-based XSS detection mechanisms such as Content Security Policy (CSP) violation reporting
  • Review recent wiki edits for content matching known XSS evasion techniques

Monitoring Recommendations

  • Enable and monitor MediaWiki's built-in logging for parser-related errors and warnings
  • Configure Content Security Policy headers with report-uri to capture XSS attempt notifications
  • Implement real-time alerting on wiki edits containing potential script injection patterns
  • Monitor for unusual authentication patterns or session activity following page views

How to Mitigate CVE-2025-61638

Immediate Actions Required

  • Upgrade MediaWiki to version 1.39.14, 1.43.4, or 1.44.1 (or later) depending on your release branch
  • Upgrade Parsoid to version 0.16.6, 0.20.4, or 0.21.1 (or later) depending on your release branch
  • Review recent wiki content changes for potentially malicious content that may have been injected
  • Implement Content Security Policy headers to provide defense-in-depth against XSS attacks

Patch Information

Wikimedia Foundation has released patched versions addressing this vulnerability. Organizations should update to the following minimum versions:

ComponentFixed Versions
MediaWiki1.39.14, 1.43.4, 1.44.1
Parsoid0.16.6, 0.20.4, 0.21.1

For detailed patch information and release notes, refer to the Wikimedia Task T401099.

Workarounds

  • Implement strict Content Security Policy (CSP) headers to restrict script execution sources
  • Temporarily restrict wiki editing permissions to trusted users until patches can be applied
  • Enable additional input validation at the web server or WAF level to filter potential XSS payloads
  • Consider placing the wiki in read-only mode if immediate patching is not possible
bash
# Example: Add Content Security Policy headers in Apache configuration
# Add to your MediaWiki virtual host configuration
<IfModule mod_headers.c>
    Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self';"
</IfModule>

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.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/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 T401099
  • Related CVEs
  • CVE-2025-53093: TabberNeue MediaWiki XSS Vulnerability

  • CVE-2025-53369: MediaWiki Short Description XSS Flaw

  • CVE-2026-39936: MediaWiki Score Extension XSS Vulnerability

  • CVE-2026-39935: MediaWiki CampaignEvents XSS Vulnerability
Default Legacy - Prefooter | 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