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
    • 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-27110

CVE-2025-27110: Trustwave ModSecurity XSS Vulnerability

CVE-2025-27110 is an XSS vulnerability in Trustwave ModSecurity's Libmodsecurity3 v3.0.13 that fails to decode HTML entities with leading zeroes, enabling potential attacks. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 29, 2026

CVE-2025-27110 Overview

CVE-2025-27110 is an input validation vulnerability affecting Libmodsecurity3, a core component of the ModSecurity v3 project. The library serves as an interface to ModSecurity Connectors, processing web traffic and applying traditional ModSecurity security rules. A bug exclusive to version 3.0.13 prevents Libmodsecurity3 from properly decoding HTML entities that contain leading zeroes, potentially allowing attackers to bypass Web Application Firewall (WAF) rules designed to detect malicious payloads.

Critical Impact

Attackers can craft malicious payloads using HTML entities with leading zeroes to evade ModSecurity detection rules, potentially enabling successful exploitation of underlying web applications protected by affected ModSecurity instances.

Affected Products

  • Trustwave ModSecurity (Libmodsecurity3) version 3.0.13
  • Web servers and applications protected by ModSecurity v3.0.13
  • OWASP ModSecurity Core Rule Set (CRS) deployments using Libmodsecurity3 3.0.13

Discovery Timeline

  • 2025-02-25 - CVE-2025-27110 published to NVD
  • 2025-02-28 - Last updated in NVD database

Technical Details for CVE-2025-27110

Vulnerability Analysis

This vulnerability falls under CWE-172 (Encoding Error), representing an improper handling of encoded character sequences. The flaw exists in the HTML entity decoding functionality of Libmodsecurity3, specifically when processing numeric HTML entities that include leading zeroes in their decimal or hexadecimal representations.

HTML entities are commonly used to represent special characters in web content. For example, the character "A" can be represented as A or with leading zeroes as A or A. While these representations should all decode to the same character, Libmodsecurity3 version 3.0.13 fails to properly normalize entities containing leading zeroes before applying security rules.

This parsing inconsistency creates a security gap where attackers can encode malicious payloads using HTML entities with leading zeroes to bypass WAF detection. For instance, XSS payloads or SQL injection strings can be obfuscated in ways that evade ModSecurity rules while still being correctly interpreted by target web applications.

Root Cause

The root cause lies in the HTML entity decoding logic within Libmodsecurity3 3.0.13. The parsing routine does not correctly handle the normalization of numeric HTML entities when leading zeroes are present. This regression was introduced specifically in version 3.0.13 and does not affect earlier or later versions of the library.

When the decoding function encounters an entity like A, it fails to properly strip the leading zero before conversion, resulting in the entity not being decoded correctly. This prevents security rules from matching against the decoded payload content.

Attack Vector

This vulnerability is exploitable over the network without authentication. An attacker can craft HTTP requests containing malicious payloads encoded with HTML entities that include leading zeroes. Since the ModSecurity engine fails to decode these entities properly, security rules designed to detect the underlying malicious patterns will not trigger, allowing the payload to pass through to the protected application.

Attack scenarios include:

  • Bypassing XSS detection by encoding script tags with leading-zero entities
  • Evading SQL injection rules through obfuscated SQL keywords
  • Circumventing path traversal detection using encoded directory sequences
  • Bypassing command injection filters with encoded shell metacharacters

For detailed technical information about exploitation, see the GitHub Issue #3340 and the official security advisory.

Detection Methods for CVE-2025-27110

Indicators of Compromise

  • HTTP requests containing HTML entities with unusual leading zeroes (e.g., A, <, A)
  • Web application security events occurring despite ModSecurity being active
  • Successful exploitation of vulnerabilities in backend applications that should be blocked by WAF rules
  • Anomalous request patterns with numeric character references in unexpected locations

Detection Strategies

  • Review ModSecurity version to confirm if 3.0.13 is deployed using package manager queries or configuration inspection
  • Implement additional logging at the application layer to detect payloads that may have bypassed WAF rules
  • Deploy network-level monitoring to identify requests containing HTML entities with leading zero patterns
  • Cross-reference application security logs with ModSecurity audit logs to identify detection gaps

Monitoring Recommendations

  • Enable verbose ModSecurity audit logging to capture all request transformations and rule evaluations
  • Monitor for successful attacks on backend applications that should have been blocked by existing rules
  • Set up alerts for patterns matching HTML entity encoding with multiple leading zeroes
  • Establish baseline metrics for rule triggers to identify sudden drops that may indicate bypass activity

How to Mitigate CVE-2025-27110

Immediate Actions Required

  • Upgrade Libmodsecurity3 from version 3.0.13 to version 3.0.14 or later immediately
  • Audit recent security logs for potential exploitation attempts during the exposure window
  • Review backend application logs for signs of successful attacks that bypassed ModSecurity
  • Notify security operations teams of the vulnerability and coordinate patching schedules

Patch Information

Trustwave has released version 3.0.14 of Libmodsecurity3 which contains the fix for this vulnerability. The patch corrects the HTML entity decoding logic to properly handle entities containing leading zeroes.

For detailed patch information and upgrade instructions, refer to the GitHub Security Advisory GHSA-42w7-rmv5-4x2j.

Organizations should prioritize this update as no workarounds are available for the vulnerability.

Workarounds

  • No known workarounds are available for this vulnerability according to the vendor advisory
  • Consider deploying additional security controls (secondary WAF, application-level validation) as temporary compensating measures
  • Implement application-layer input validation to provide defense-in-depth while patching is scheduled
  • Monitor traffic closely for exploitation attempts until the upgrade can be completed
bash
# Upgrade ModSecurity to patched version
# For package manager installations:
apt-get update && apt-get install libmodsecurity3=3.0.14

# Verify installed version after upgrade:
modsecurity -v

# Restart web server to load updated library:
systemctl restart nginx  # or apache2, depending on your setup

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechTrustwave Modsecurity

  • SeverityHIGH

  • CVSS Score7.9

  • EPSS Probability0.27%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/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-172

  • NVD-CWE-noinfo
  • Technical References
  • GitHub Issue #3340
  • Vendor Resources
  • GitHub Security Advisory GHSA-42w7-rmv5-4x2j
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
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