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

CVE-2026-32870: Getkirby Kirby XXE Vulnerability

CVE-2026-32870 is an XXE flaw in Getkirby Kirby CMS affecting XML value handling in CDATA blocks, allowing structured data manipulation. This article covers technical details, affected versions, impact, and mitigation.

Published: April 30, 2026

CVE-2026-32870 Overview

CVE-2026-32870 is an XML Injection vulnerability (CWE-91) affecting Kirby, an open-source content management system. The vulnerability exists in Kirby's Xml::value() method, which has special handling for <![CDATA[ ]]> blocks. Attackers can exploit a flaw in the CDATA validation logic to inject structured XML data that bypasses the intended value protection, potentially manipulating downstream systems that process the generated XML.

Critical Impact

Attackers can inject malicious XML structures by crafting input that contains valid CDATA blocks alongside additional structured data, circumventing Kirby's XML value protection and potentially manipulating systems that consume the generated XML output.

Affected Products

  • Kirby versions prior to 4.9.0
  • Kirby versions 5.x prior to 5.4.0
  • Sites using Xml::value(), Xml::tag(), Xml::create(), or XML data handler in custom code

Discovery Timeline

  • 2026-04-24 - CVE CVE-2026-32870 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2026-32870

Vulnerability Analysis

The vulnerability stems from improper validation in Kirby's XML processing methods. The Xml::value() method implements special handling for CDATA blocks to avoid double-escaping already valid CDATA content. However, the validation logic only checks whether the input contains a valid CDATA block, rather than verifying that the entire input string consists exclusively of valid CDATA content.

This oversight allows an attacker to construct a payload that includes a legitimate CDATA block to pass the validation check, while also embedding additional structured XML data outside the CDATA block. Since the validation passes, the entire input—including the malicious structured data—is allowed through without proper escaping.

The affected methods include Xml::value(), Xml::tag(), Xml::create(), and the Xml data handler accessed via Data::encode($string, 'xml'). While these methods are not used in Kirby's core functionality, they are available for use in site-specific or plugin code that generates XML from user input.

Root Cause

The root cause is an insufficient boundary check in the CDATA validation logic. The validation only verified that a valid CDATA block existed within the input rather than ensuring the input consisted entirely of CDATA blocks with no additional content. This allows structured XML data to be injected alongside valid CDATA content, bypassing the escaping mechanism designed to protect against XML injection.

Attack Vector

The attack is network-based and requires no authentication. An attacker can exploit this vulnerability by submitting specially crafted input to any Kirby site functionality that processes user data through the vulnerable XML methods. The malicious input would contain a valid CDATA section to pass the validation check, combined with additional XML structures intended to manipulate downstream systems.

The exploitation scenario requires:

  1. The target site uses Xml::value(), Xml::tag(), Xml::create(), or the XML data handler in custom code
  2. User-controlled input is passed through these methods
  3. The generated XML is consumed by another system that interprets the XML schema

For sites that do not use XML generation in their custom code, the vulnerability has no impact. The attack's success depends on how downstream systems process the manipulated XML output.

Detection Methods for CVE-2026-32870

Indicators of Compromise

  • Unusual XML content in request parameters containing both CDATA blocks and additional XML structures
  • Log entries showing malformed or unexpected XML payloads being processed
  • Anomalous behavior in systems that consume XML output generated by Kirby

Detection Strategies

  • Audit custom site and plugin code for usage of Xml::value(), Xml::tag(), Xml::create(), or Data::encode($string, 'xml')
  • Implement input validation rules to detect payloads containing CDATA blocks combined with structured XML data
  • Review web application firewall logs for requests containing XML injection patterns

Monitoring Recommendations

  • Monitor application logs for XML parsing errors or warnings that may indicate injection attempts
  • Implement alerting for any unusual patterns in user input fields that interact with XML generation
  • Track downstream system behavior for signs of manipulation via injected XML structures

How to Mitigate CVE-2026-32870

Immediate Actions Required

  • Upgrade Kirby to version 4.9.0 or later for the 4.x branch
  • Upgrade Kirby to version 5.4.0 or later for the 5.x branch
  • Audit any custom code using the affected XML methods to assess exposure
  • Review and validate XML output generated by affected methods before passing to downstream systems

Patch Information

The vulnerability has been patched in Kirby 4.9.0 and Kirby 5.4.0. The fix adds additional validation checks that only permit unchanged CDATA passthrough when the entire input string consists exclusively of valid CDATA blocks with no additional structured data. This ensures all uses of the affected methods are protected against the described vulnerability.

Patch resources:

  • Kirby 4.9.0 Release
  • Kirby 5.4.0 Release
  • GitHub Security Advisory GHSA-9wfj-c55w-j9qr

Workarounds

  • Avoid using Xml::value(), Xml::tag(), Xml::create(), or the XML data handler with user-controlled input until patched
  • Implement custom input validation to reject any input containing CDATA blocks before passing to XML methods
  • If XML generation is necessary, manually escape all user input before processing through XML methods
bash
# Update Kirby via Composer
composer update getkirby/kirby

# Verify installed version
composer show getkirby/kirby | grep version

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechGetkirby

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/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
  • AvailabilityNone
  • CWE References
  • CWE-91
  • Technical References
  • GitHub Release v4.9.0

  • GitHub Release v5.4.0
  • Vendor Resources
  • GitHub Security Advisory GHSA-9wfj-c55w-j9qr
  • Related CVEs
  • CVE-2026-34587: Getkirby Kirby Auth Bypass Vulnerability

  • CVE-2026-40099: Getkirby Kirby Auth Bypass Vulnerability

  • CVE-2026-41325: Getkirby Kirby Auth Bypass Vulnerability

  • CVE-2025-30159: Getkirby Kirby Path Traversal Flaw
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