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-2026-24128

CVE-2026-24128: XWiki Platform Reflected XSS Vulnerability

CVE-2026-24128 is a reflected Cross-site Scripting vulnerability in XWiki Platform that allows attackers to execute arbitrary actions with victim privileges. This article covers technical details, affected versions, and mitigation.

Published: January 30, 2026

CVE-2026-24128 Overview

CVE-2026-24128 is a reflected Cross-Site Scripting (XSS) vulnerability affecting XWiki Platform, a generic wiki platform offering runtime services for applications built on top of it. This vulnerability allows an attacker to craft a malicious URL that, when visited by a victim, executes arbitrary JavaScript code within the context of the victim's authenticated session. The impact is particularly severe when the victim possesses administrative or programming rights, as an attacker can exploit those privileges to gain full access to the XWiki installation.

Critical Impact

Attackers can execute arbitrary actions with the same privileges as the victim. If an administrator is targeted, this can result in complete compromise of the XWiki installation, including unauthorized data access, modification, or full system takeover.

Affected Products

  • XWiki Platform versions 7.0-milestone-2 through 16.10.11
  • XWiki Platform versions 17.0.0-rc-1 through 17.4.4
  • XWiki Platform versions 17.5.0-rc-1 through 17.7.0

Discovery Timeline

  • 2026-01-24 - CVE-2026-24128 published to NVD
  • 2026-01-26 - Last updated in NVD database

Technical Details for CVE-2026-24128

Vulnerability Analysis

This reflected XSS vulnerability exists in the logging macros template (templates/logging_macros.vm) of XWiki Platform. The vulnerability stems from improper handling of extension ID arguments when rendering log messages. When extension information is displayed, the extension name is incorporated into HTML output without proper sanitization, allowing an attacker to inject malicious script content.

The vulnerability is network-exploitable and requires no authentication to trigger, though user interaction is necessary as the victim must click a malicious link. When exploited against users with elevated privileges, the attacker can perform actions with administrative or programming rights, potentially leading to complete compromise of the XWiki installation.

Root Cause

The root cause is a missing XML/HTML escape function when setting the $_extensionName variable in the Velocity template. The original code directly assigned the $argument value to $_extensionName without sanitization, which was then embedded into an HTML anchor tag. This allowed attackers to inject arbitrary HTML and JavaScript by manipulating the extension argument parameter.

Attack Vector

The attack vector is network-based, requiring an attacker to craft a specially designed URL containing malicious JavaScript payload in the extension ID parameter. When a victim clicks this link while authenticated to the XWiki instance, the malicious script executes in the context of their session. The attacker can then:

  1. Steal session cookies or authentication tokens
  2. Perform actions on behalf of the victim user
  3. If the victim has admin rights, install malicious extensions or modify system configurations
  4. Extract sensitive data from the wiki
text
// Security patch in logging_macros.vm
             #set ($version = $argument.versionConstraint)
           #end
           #set ($_extensionURL = "#getExtensionURL($argument.id, $version)")
-          #set ($_extensionName = $argument)
+          #set ($_extensionName = $!escapetool.xml($argument))
         #end
         #set ($message = "$message<a href=""$_extensionURL"" class=""extension-link"">$_extensionName</a>")
       #elseif ($argument.listIterator())

Source: GitHub Commit Update

Detection Methods for CVE-2026-24128

Indicators of Compromise

  • Suspicious URLs containing encoded JavaScript or HTML tags in extension-related parameters
  • Web server logs showing requests with unusual characters in extension ID or name parameters
  • Unexpected administrative actions or configuration changes that legitimate users did not perform
  • User reports of suspicious behavior after clicking links to the XWiki instance

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block requests containing common XSS payloads in URL parameters
  • Monitor application logs for requests containing script tags, event handlers, or JavaScript protocol handlers in extension-related parameters
  • Deploy browser-based XSS detection mechanisms and Content Security Policy (CSP) headers to mitigate successful exploitation
  • Conduct regular security scanning of XWiki instances to identify unpatched versions

Monitoring Recommendations

  • Enable detailed access logging for the XWiki application to capture full request URLs and parameters
  • Configure alerting for requests that match XSS payload patterns targeting the logging functionality
  • Monitor for unusual session activity following visits from external referrers
  • Implement user behavior analytics to detect privilege abuse following potential XSS exploitation

How to Mitigate CVE-2026-24128

Immediate Actions Required

  • Upgrade XWiki Platform to a patched version immediately: 17.8.0-rc-1, 17.4.5, or 16.10.12
  • If immediate upgrade is not possible, apply the manual patch to templates/logging_macros.vm
  • Review recent access logs for potential exploitation attempts
  • Implement Content Security Policy (CSP) headers as an additional defense layer

Patch Information

XWiki has released patched versions that address this vulnerability. The fix involves adding proper XML escaping to the extension name argument before it is rendered in HTML output. Official patched versions are available:

  • XWiki Platform 16.10.12 for the 16.x branch
  • XWiki Platform 17.4.5 for the 17.4.x branch
  • XWiki Platform 17.8.0-rc-1 for the latest development branch

For detailed vulnerability information, refer to the GitHub Security Advisory GHSA-wvqx-m5px-6cmp and Jira Issue XWIKI-23462.

Workarounds

  • Apply the single-line patch manually to templates/logging_macros.vm by changing #set ($_extensionName = $argument) to #set ($_extensionName = $!escapetool.xml($argument))
  • No server restart is required after applying the manual patch
  • Implement strict Content Security Policy (CSP) headers to prevent inline script execution as a defense-in-depth measure
  • Consider restricting access to administrative functions until the patch can be applied
bash
# Manual patch verification
# Navigate to XWiki installation directory and check the file:
grep -n "escapetool.xml" templates/logging_macros.vm

# If the patch is applied correctly, you should see the escaped version:
# #set ($_extensionName = $!escapetool.xml($argument))

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechXwiki

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/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
  • GitHub Commit Update

  • GitHub Release v16.10.12

  • GitHub Release v17.4.5

  • GitHub Release v17.8.0 RC1

  • GitHub Security Advisory GHSA-wvqx-m5px-6cmp

  • Jira Issue XWIKI-23462
  • Related CVEs
  • CVE-2025-66024: XWiki Blog Application XSS Vulnerability

  • CVE-2026-26000: XWiki Platform XSS Vulnerability

  • CVE-2025-46558: XWiki Markdown Syntax XSS Vulnerability

  • CVE-2025-32974: XWiki 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