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-2024-55663

CVE-2024-55663: XWiki Platform SQL Injection Vulnerability

CVE-2024-55663 is a SQL injection flaw in XWiki Platform affecting versions 6.3-milestone-2 through 14.2. Attackers can exploit unsanitized parameters to access sensitive data or modify database records. This article covers technical details, affected versions, impact, and mitigation.

Published: May 26, 2026

CVE-2024-55663 Overview

CVE-2024-55663 is an HQL injection vulnerability in XWiki Platform, an open-source generic wiki platform. The flaw resides in getdocument.vm, where the ordering of returned documents is derived from the unsanitized request.sort parameter. Any authenticated user can inject Hibernate Query Language (HQL) statements through this parameter. Depending on the underlying database backend, attackers can extract confidential data such as password hashes and may also execute UPDATE, INSERT, or DELETE queries. The vulnerability affects XWiki versions from 6.3-milestone-2 up to but not including 13.10.5 and 14.3-rc-1.

Critical Impact

Authenticated attackers can inject HQL queries to exfiltrate credentials and modify database records across affected XWiki deployments.

Affected Products

  • XWiki Platform versions 6.3-milestone-2 through 13.10.4
  • XWiki Platform 14.x versions prior to 14.3-rc-1
  • Deployments using getdocument.vm with database backends supporting HQL

Discovery Timeline

  • 2024-12-12 - CVE-2024-55663 published to NVD
  • 2025-01-10 - Last updated in NVD database

Technical Details for CVE-2024-55663

Vulnerability Analysis

The vulnerability is classified under [CWE-116] Improper Encoding or Escaping of Output. The getdocument.vm template in XWiki Platform constructs HQL queries that include user-controlled input from the request.sort parameter. XWiki passes this parameter directly into the ORDER BY clause of an HQL query without sanitization or parameterization. Attackers append arbitrary HQL fragments to manipulate query execution.

The impact varies by database backend. On backends that support stacked or compound queries, attackers can chain UPDATE, INSERT, or DELETE statements after the initial ORDER BY. On all backends, attackers can use subqueries, conditional expressions, or UNION-style constructs reachable through HQL to extract sensitive fields, including password hashes stored in the XWiki user tables.

Root Cause

The root cause is the direct concatenation of an unsanitized HTTP request parameter into an HQL query string. The request.sort parameter is used to define document ordering but lacks both an allow-list of valid sort columns and proper parameter binding. HQL injection mirrors SQL injection but operates at the Hibernate object-relational mapping layer, which allows attackers to traverse entity relationships defined in XWiki's data model.

Attack Vector

The attack is delivered over the network through standard HTTP requests. An authenticated user with low-privilege access to any page invoking getdocument.vm crafts a request that includes a malicious sort parameter. The injected HQL is executed in the application's database context, granting the attacker the same privileges as the XWiki database user. No user interaction beyond the attacker's own request is required.

The vulnerability mechanism is described in the XWiki Security Advisory GHSA-wh34-m772-5398. The corresponding source fix is available in XWiki commit 673076e.

Detection Methods for CVE-2024-55663

Indicators of Compromise

  • HTTP requests to XWiki endpoints containing sort parameters with HQL keywords such as select, from, where, union, update, insert, or delete
  • Unusual ORDER BY clauses appearing in database query logs originating from XWiki sessions
  • Unexpected reads from the XWikiUsers table or fields containing password hashes
  • Anomalous UPDATE, INSERT, or DELETE operations executed by the XWiki application database account

Detection Strategies

  • Inspect web access logs for requests containing suspicious values in the sort query parameter on URLs that load getdocument.vm
  • Enable Hibernate SQL logging to identify malformed ORDER BY clauses or stacked statements
  • Correlate authenticated XWiki session activity with database query volume spikes from the application service account

Monitoring Recommendations

  • Forward XWiki application logs and database audit logs to a centralized analytics platform for query-pattern analysis
  • Alert on any database query from the XWiki service account that modifies authentication tables or user credentials
  • Track the XWiki version banner across all instances to identify hosts running versions prior to 13.10.5 or 14.3-rc-1

How to Mitigate CVE-2024-55663

Immediate Actions Required

  • Upgrade XWiki Platform to version 13.10.5, 14.3-rc-1, or later as soon as possible
  • Rotate all XWiki user passwords and any application secrets that may have been stored in the database after confirming the patch is applied
  • Review database audit logs for evidence of HQL injection attempts since the vulnerable code was introduced in 6.3-milestone-2
  • Restrict the XWiki database account privileges to the minimum required for normal operation

Patch Information

The vulnerability is fixed in XWiki Platform 13.10.5 and 14.3-rc-1. The patch sanitizes the request.sort parameter before it is used in HQL query construction. Review the source change in XWiki commit 673076e and the issue tracker entry XWIKI-17568 for full remediation context.

Workarounds

  • No vendor-supplied workaround exists; upgrading XWiki is the only supported remediation per the GitHub Security Advisory
  • As a temporary compensating control, deploy a web application firewall rule that blocks requests where the sort parameter contains HQL keywords or non-alphanumeric characters
  • Restrict access to authenticated XWiki endpoints to trusted networks until the patch is deployed

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechXwiki

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability1.90%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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-116
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory

  • XWiki Issue Tracker
  • Related CVEs
  • CVE-2025-65091: XWiki Full Calendar Macro SQLi Vulnerability

  • CVE-2024-56158: XWiki Platform SQL Injection Vulnerability

  • CVE-2025-52472: XWiki Platform HQL Injection Vulnerability

  • CVE-2025-32429: XWiki Platform SQL Injection 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