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-32974

CVE-2025-32974: XWiki XSS Vulnerability

CVE-2025-32974 is an XSS vulnerability in XWiki platform that exploits TextArea properties to execute malicious scripts when privileged users edit pages. This article covers technical details, affected versions, and mitigation.

Published: April 1, 2026

CVE-2025-32974 Overview

CVE-2025-32974 is a critical vulnerability in XWiki, a generic wiki platform, where the required rights analysis fails to consider TextAreas with default content type. This flaw allows attackers with low privileges to inject malicious scripts into certain property fields that bypass XWiki's security warnings. When a user with script, admin, or programming rights subsequently edits the compromised page, the malicious scripts execute with elevated privileges.

Critical Impact

This vulnerability enables privilege escalation through stored cross-site scripting, potentially compromising the confidentiality, integrity, and availability of the entire XWiki installation.

Affected Products

  • XWiki versions 15.9-rc-1 to before 15.10.8
  • XWiki versions 16.0.0-rc-1 to before 16.2.0
  • XWiki Platform (xwiki:xwiki component)

Discovery Timeline

  • 2025-04-30 - CVE-2025-32974 published to NVD
  • 2025-05-13 - Last updated in NVD database

Technical Details for CVE-2025-32974

Vulnerability Analysis

This vulnerability stems from an incomplete implementation of XWiki's required rights analysis feature introduced in version 15.9. The platform's security mechanism was designed to warn editors when page content, such as script macros, would gain elevated privileges upon editing. However, the analysis logic failed to properly evaluate TextArea properties that use the default content type.

When the getContentType() method returns null for a TextArea property, the security analysis incorrectly skips the rights check instead of treating it as the default WIKI_TEXT type. This oversight allows attackers to embed malicious scripts within these unchecked property fields. The attack succeeds when a privileged user (with script, admin, or programming rights) edits the page, inadvertently executing the injected code with their elevated permissions.

The impact is severe: successful exploitation can lead to complete compromise of the XWiki installation, including unauthorized data access, content manipulation, and potential denial of service.

Root Cause

The root cause is improper output encoding and neutralization (CWE-116) in the DefaultObjectRequiredRightAnalyzer.java component. The code failed to handle the case where TextAreaClass.getContentType() returns null, which is the default state for many TextArea configurations. Without proper null handling, the security analysis bypasses these fields entirely, treating them as safe when they may contain executable wiki content.

Attack Vector

The attack vector is network-based and requires low privileges with user interaction. An attacker must:

  1. Authenticate with basic user privileges on the XWiki instance
  2. Create or modify a page with a TextArea property using the default content type
  3. Inject malicious script content into the unanalyzed property field
  4. Wait for a privileged user to edit the compromised page
  5. Upon edit, the malicious script executes with the editor's elevated privileges
java
// Security patch showing the fix for null content type handling
// Source: https://github.com/xwiki/xwiki-platform/commit/153dbfa2ef1a7a0a644fe3f889684c6a8738c5fc

         String contentTypeString = textAreaClass.getContentType();
         TextAreaClass.ContentType contentType =
             TextAreaClass.ContentType.getByValue(contentTypeString);
+        if (contentType == null) {
+            // Default to wiki text like TextAreaClass does.
+            contentType = TextAreaClass.ContentType.WIKI_TEXT;
+        }
         PropertyInterface field = object.getField(propertyName);

         List<RequiredRightAnalysisResult> result = List.of();

Detection Methods for CVE-2025-32974

Indicators of Compromise

  • Unusual script macro content within TextArea properties with default or unspecified content types
  • Page edit logs showing privileged users editing pages created by lower-privileged accounts
  • Unexpected administrative actions or permission changes following page edits
  • Signs of data exfiltration or unauthorized content modifications

Detection Strategies

  • Monitor XWiki audit logs for page edits by privileged users on recently modified pages
  • Implement content scanning for script macros in TextArea properties with null content types
  • Review object property changes in wiki pages for suspicious script injection patterns
  • Deploy application-level monitoring to detect privilege escalation behaviors

Monitoring Recommendations

  • Enable verbose logging for XWiki security module events
  • Set up alerts for administrative privilege usage following page edit operations
  • Implement file integrity monitoring on XWiki configuration and data directories
  • Monitor network traffic for unusual outbound connections from the XWiki server

How to Mitigate CVE-2025-32974

Immediate Actions Required

  • Upgrade XWiki immediately to version 15.10.8 or 16.2.0
  • Audit existing wiki pages for potentially malicious script content in TextArea properties
  • Review recent edit histories to identify possible exploitation attempts
  • Temporarily restrict page editing capabilities to trusted administrators if immediate patching is not possible

Patch Information

XWiki has released security patches in versions 15.10.8 and 16.2.0 that address this vulnerability. The fix ensures that TextArea properties with null content types are properly analyzed as WIKI_TEXT, the default behavior in TextAreaClass. Organizations should apply these updates immediately.

Refer to the GitHub Security Advisory (GHSA-mvgm-3rw2-7j4r) for detailed patch information. The specific fix is available in commit 153dbfa2ef1a7a0a644fe3f889684c6a8738c5fc.

Workarounds

  • Restrict user registration and limit account creation to trusted administrators
  • Implement strict access controls to prevent untrusted users from creating or modifying pages
  • Review and restrict permissions for editing pages containing TextArea properties
  • Consider temporarily disabling script execution features until patching is complete
bash
# Configuration example
# Restrict XWiki user permissions via configuration
# Edit xwiki.cfg or xwiki.properties to limit editing capabilities

# In xwiki.cfg, set strict access control
xwiki.rights.superadmin=false

# Limit script execution rights
xwiki.authentication.active_check=false
xwiki.rights.strictRightCheck=1

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechXwiki

  • SeverityCRITICAL

  • CVSS Score9.0

  • EPSS Probability1.38%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-116
  • Vendor Resources
  • GitHub Commit Reference

  • GitHub Security Advisory

  • XWiki JIRA Issue XWIKI-22002
  • Related CVEs
  • CVE-2026-40105: XWiki Platform XSS Vulnerability

  • CVE-2025-66024: XWiki Blog Application XSS Vulnerability

  • CVE-2026-26000: XWiki Platform XSS Vulnerability

  • CVE-2026-24128: XWiki Platform Reflected 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