A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-49586

CVE-2025-49586: XWiki App Within Minutes RCE Vulnerability

CVE-2025-49586 is a remote code execution vulnerability in XWiki that allows users with edit rights on App Within Minutes applications to escalate privileges. This article covers technical details, affected versions, and patches.

Published: June 2, 2026

CVE-2025-49586 Overview

CVE-2025-49586 is an authorization vulnerability in XWiki, an open-source wiki software platform. Any authenticated XWiki user holding edit rights on at least one App Within Minutes application can elevate to programming rights by editing the application. Because edit rights on App Within Minutes applications are granted to all users by default, the barrier to exploitation is low. Successful exploitation yields remote code execution on the XWiki server. The issue is tracked under CWE-863: Incorrect Authorization and was fixed in XWiki 17.0.0, 16.10.3, and 16.4.7.

Critical Impact

Authenticated users with default edit permissions can obtain programming rights and execute arbitrary code on the XWiki server, leading to full compromise of confidentiality, integrity, and availability.

Affected Products

  • XWiki Platform versions prior to 16.4.7
  • XWiki Platform 16.5.0 through 16.10.2
  • XWiki Platform 17.0.0 release candidates prior to 17.0.0 GA

Discovery Timeline

  • 2025-06-13 - CVE-2025-49586 published to NVD
  • 2025-09-03 - Last updated in NVD database

Technical Details for CVE-2025-49586

Vulnerability Analysis

XWiki uses an author-based privilege model. Scripts and templates execute with the rights of the document author, and programming right is required to perform privileged operations such as accessing internal APIs or invoking Groovy scripts. The App Within Minutes module lets users build structured applications through a web UI. Custom property displayers tied to these applications were executed using the rights of the editing user rather than the rights of the owner document author. An attacker editing a custom displayer could therefore inject script content that escalated to programming right when rendered, resulting in server-side code execution.

Root Cause

The root cause lies in PropertyClass.java within xwiki-platform-oldcore. Custom displayers were rendered without delegating execution to the owner document's author through AuthorExecutor. This authorization mismatch allowed a low-privileged editor to leverage a higher-privileged author context. The fix changes the custom displayer rendering path to use the author of the owner document.

Attack Vector

An authenticated user navigates to any App Within Minutes application on which they hold edit rights. The attacker modifies a custom property displayer to include script content that requires programming right, such as Groovy macros or privileged Velocity bindings. When the application is rendered, the injected script executes under the author context of the owner document, granting the attacker arbitrary code execution on the underlying server.

java
// Security patch excerpt - PropertyClass.java
 import org.xwiki.model.reference.EntityReference;
 import org.xwiki.script.ScriptContextManager;
 import org.xwiki.security.authorization.AuthorExecutor;
+import org.xwiki.stability.Unstable;
 import org.xwiki.template.Template;
 import org.xwiki.template.TemplateManager;
// Source: https://github.com/xwiki/xwiki-platform/commit/ef978315649cf83eae396021bb33603a1a5f7e42

The patch introduces the use of AuthorExecutor so custom displayers are executed with the rights of the owner document's author instead of the editing user. See the GitHub Security Advisory GHSA-jp4x-w9cj-97q7 for the full technical writeup.

Detection Methods for CVE-2025-49586

Indicators of Compromise

  • Unexpected edits to App Within Minutes application documents or custom property displayer templates by non-administrator accounts.
  • New or modified XWiki documents containing Groovy macros, {{groovy}}, or privileged Velocity calls authored by low-privileged users.
  • XWiki server processes spawning shell interpreters such as sh, bash, or cmd.exe, or making outbound network connections to unknown hosts.
  • Creation of new admin-level XWiki users or modification of XWiki.XWikiPreferences shortly after an edit to an App Within Minutes application.

Detection Strategies

  • Review XWiki audit logs and document revision history for changes to App Within Minutes applications and their property classes.
  • Hunt for script content requiring programming right embedded in user-editable application documents.
  • Correlate Java process telemetry from the XWiki host with web access logs to identify suspicious child processes following a /bin/edit/ or /bin/save/ request.

Monitoring Recommendations

  • Forward XWiki application logs and access logs to a centralized log platform and alert on edits to documents under the AppWithinMinutes space.
  • Monitor outbound connections from the application server JVM for non-baseline destinations.
  • Track creation or modification of users in the XWiki space and changes to global rights documents.

How to Mitigate CVE-2025-49586

Immediate Actions Required

  • Upgrade XWiki to version 17.0.0, 16.10.3, or 16.4.7 as appropriate for your release branch.
  • Audit edit rights on App Within Minutes applications and revoke broad default grants where they are not required.
  • Review recent revisions of App Within Minutes application documents and roll back any unauthorized changes.
  • Rotate XWiki administrator credentials and any secrets stored in the wiki if compromise is suspected.

Patch Information

The vulnerability is fixed by commit ef978315, which changes custom displayers to execute under the author of the owner document via AuthorExecutor. Fixed releases are XWiki 17.0.0, 16.10.3, and 16.4.7. Tracking details are available in XWiki Issue XWIKI-22719.

Workarounds

  • Restrict edit rights on App Within Minutes applications to trusted administrators by editing XWiki.XWikiPreferences and the rights of each application document.
  • Disable or remove the App Within Minutes module on instances that do not require it.
  • Place the XWiki instance behind authentication-aware reverse proxy rules that limit access to /bin/edit/AppWithinMinutes/ paths to administrative users until patching is complete.
bash
# Verify the installed XWiki version against fixed releases
curl -s -u admin:password https://xwiki.example.com/bin/view/Main/ \
  | grep -i 'xwiki-version'

# Example: review recent edits in the AppWithinMinutes space
curl -s -u admin:password \
  "https://xwiki.example.com/rest/wikis/xwiki/spaces/AppWithinMinutes/pages?number=50"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechXwiki

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability9.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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
  • AvailabilityHigh
  • CWE References
  • CWE-863
  • Vendor Resources
  • GitHub Commit Change

  • GitHub Security Advisory GHSA-jp4x-w9cj-97q7

  • XWiki Issue XWIKI-22719
  • Related CVEs
  • CVE-2026-33229: XWiki Platform RCE Vulnerability

  • CVE-2025-66474: XWiki Rendering RCE Vulnerability

  • CVE-2025-24893: XWiki Platform RCE Vulnerability

  • CVE-2024-31982: XWiki Platform RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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