Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2023-24814

CVE-2023-24814: TYPO3 CMS Cross-Site Scripting Vulnerability

CVE-2023-24814 is a cross-site scripting vulnerability in TYPO3 CMS that allows attackers to inject malicious HTML into cached pages. This article covers the technical details, affected versions, and mitigation steps.

Published: February 4, 2026

CVE-2023-24814 Overview

CVE-2023-24814 is a persistent Cross-Site Scripting (XSS) vulnerability affecting the TYPO3 Content Management System. The vulnerability exists in the core component GeneralUtility::getIndpEnv(), which uses the unfiltered server environment variable PATH_INFO, allowing attackers to inject malicious content into rendered pages. When combined with the TypoScript setting config.absRefPrefix=auto, attackers can inject malicious HTML code into pages that have not yet been rendered and cached, resulting in the injected values being stored in cache and delivered to other website visitors.

Critical Impact

This persisted XSS vulnerability allows attackers to inject malicious scripts that are cached and served to all subsequent visitors, potentially leading to credential theft, session hijacking, and widespread compromise of website users.

Affected Products

  • TYPO3 versions prior to 8.7.51 ELTS
  • TYPO3 versions prior to 9.5.40 ELTS
  • TYPO3 versions prior to 10.4.35 LTS
  • TYPO3 versions prior to 11.5.23 LTS
  • TYPO3 versions prior to 12.2.0

Discovery Timeline

  • February 7, 2023 - CVE-2023-24814 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-24814

Vulnerability Analysis

The vulnerability stems from improper handling of the PATH_INFO server environment variable within the TYPO3 core utility functions. The GeneralUtility::getIndpEnv() function processes this variable without proper sanitization, creating an injection point for malicious content. When TYPO3 is configured with config.absRefPrefix=auto, the framework automatically generates URL prefixes based on server environment values. Since PATH_INFO is attacker-controllable in certain web server configurations, malicious HTML or JavaScript can be injected through crafted requests.

The vulnerability is particularly dangerous because it affects the caching mechanism. When an attacker successfully injects malicious content into an uncached page, TYPO3 stores the tainted output in its cache system. All subsequent visitors to that page receive the cached content containing the malicious payload, effectively transforming a reflected XSS into a persistent attack vector. Apache web server deployments using CGI interfaces (FPM, FCGI/FastCGI) are confirmed affected, though other configurations including nginx, IIS, or Apache/mod_php may also be vulnerable.

Root Cause

The root cause is the direct use of the unfiltered PATH_INFO server environment variable in GeneralUtility::getIndpEnv('SCRIPT_NAME') and related functions. The PATH_INFO variable can be manipulated by attackers through specially crafted HTTP requests, and the absence of input validation or output encoding allows malicious content to flow into the rendered HTML output. Additionally, the TypoScriptFrontendController::$absRefPrefix property lacked proper encoding for both URI and HTML contexts, enabling the XSS payload to execute in victim browsers.

Attack Vector

Attackers exploit this vulnerability by sending crafted HTTP requests containing malicious JavaScript or HTML in the URL path. The attack targets Apache CGI deployments where PATH_INFO is populated from the request URI. When a page is requested with a malicious PATH_INFO value and the page hasn't been cached yet, the injected content becomes part of the cached page output. The attack requires no authentication and only needs user interaction from victims who subsequently visit the compromised cached page.

The security patch addresses the vulnerability by removing reliance on PATH_INFO and enforcing cgi.fix_pathinfo=1 for CGI environments:

php
     /**
-     * Calculate path to entry script if not in cli mode.
-     *
-     * Depending on the environment, the script path is found in different $_SERVER variables.
+     * Return path to entry script if not in cli mode.
      *
      * @return string Absolute path to entry script
      */
     protected static function getPathThisScriptNonCli()
     {
-        $isCgi = Environment::isRunningOnCgiServer();
-        if ($isCgi && Environment::usesCgiFixPathInfo()) {
-            return $_SERVER['SCRIPT_FILENAME'];
-        }
-        $cgiPath = $_SERVER['ORIG_PATH_TRANSLATED'] ?? $_SERVER['PATH_TRANSLATED'] ?? '';
-        if ($cgiPath && $isCgi) {
-            return $cgiPath;
+        if (Environment::isRunningOnCgiServer() && !Environment::usesCgiFixPathInfo()) {
+            throw new \Exception('TYPO3 does only support being used with cgi.fix_pathinfo=1 on CGI server APIs.', 1675108421);
         }
-        return $_SERVER['ORIG_SCRIPT_FILENAME'] ?? $_SERVER['SCRIPT_FILENAME'];
+
+        return $_SERVER['SCRIPT_FILENAME'];
     }

Source: TYPO3 Security Commit

The fix also adds proper URL encoding for the script name:

php
         $requestHost = $this->requestHost = ($isHttps ? 'https://' : 'http://') . $httpHost;
         $requestHostOnly = $this->requestHostOnly = self::determineRequestHostOnly($httpHost);
         $this->requestPort = self::determineRequestPort($httpHost, $requestHostOnly);
-        $scriptName = $this->scriptName = self::determineScriptName(
+        $scriptNameOnFileSystem = self::determineScriptName(
             $serverParams,
             $configuration,
             $isHttps,
             $isBehindReverseProxy
         );
+        $scriptName = $this->scriptName = self::encodeFileSystemPathComponentForUrlPath($scriptNameOnFileSystem);
         $requestUri = $this->requestUri = self::determineRequestUri(
             $serverParams,
             $configuration,

Source: TYPO3 Security Commit

Detection Methods for CVE-2023-24814

Indicators of Compromise

  • Unusual or malformed PATH_INFO values in web server access logs containing HTML tags or JavaScript
  • Cached TYPO3 pages containing unexpected <script> tags or event handlers in page source
  • Web Application Firewall (WAF) alerts for XSS patterns in URL paths
  • Reports from users experiencing unexpected redirects or pop-ups on previously normal pages

Detection Strategies

  • Implement WAF rules to detect and block XSS payloads in URL path components
  • Monitor web server logs for requests with suspicious characters in PATH_INFO such as <, >, ", or '
  • Conduct regular security scans of TYPO3 cache directories to identify potentially compromised cached content
  • Deploy Content Security Policy headers to detect and report inline script execution attempts

Monitoring Recommendations

  • Enable detailed request logging on web servers to capture full URI paths including PATH_INFO
  • Configure alerting for anomalous patterns in TYPO3 cache generation activity
  • Implement real-time log analysis to flag requests containing URL-encoded HTML entities in paths
  • Use SentinelOne's web application monitoring to detect XSS exploitation attempts targeting TYPO3 installations

How to Mitigate CVE-2023-24814

Immediate Actions Required

  • Update TYPO3 immediately to versions 8.7.51 ELTS, 9.5.40 ELTS, 10.4.35 LTS, 11.5.23 LTS, or 12.2.0 or later
  • Clear all TYPO3 caches after applying the security update to remove potentially compromised cached content
  • Review web server access logs for evidence of exploitation attempts prior to patching
  • If unable to patch immediately, implement the temporary workaround described below

Patch Information

TYPO3 has released security patches that address this vulnerability by removing the usage of the PATH_INFO server environment variable from GeneralUtility::getIndpEnv() processing. Additionally, the TypoScriptFrontendController::$absRefPrefix property is now properly encoded for both URI component usage and HTML context. Users should upgrade to the fixed versions through the official TYPO3 distribution channels. Detailed patch information is available in the TYPO3 Security Advisory and the TYPO3 Core Security Advisory.

Workarounds

  • Set config.absRefPrefix to a static path value instead of auto (e.g., config.absRefPrefix=/)
  • Note: This workaround does NOT fix all aspects of the vulnerability and should only be used as an interim measure
  • Configure web server to reject requests with suspicious PATH_INFO patterns containing HTML characters
  • Consider placing a web application firewall in front of TYPO3 to filter malicious requests
bash
# TypoScript configuration workaround (partial mitigation only)
# Add to your TypoScript setup to use a static path instead of auto-detection
config.absRefPrefix = /

# Apache mod_security rule to block XSS attempts in PATH_INFO
# Add to your Apache configuration or .htaccess
SecRule REQUEST_URI "@contains <script" "id:1001,phase:1,deny,status:403,msg:'XSS attempt in URI'"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechTypo3

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.30%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • TYPO3 Documentation

  • TYPO3 Code Reference

  • TYPO3 Code Reference
  • Vendor Resources
  • TYPO3 Commit Change

  • TYPO3 Security Advisory

  • TYPO3 Core Security Advisory

  • TYPO3 PSR Security Advisory
  • Related CVEs
  • CVE-2026-0895: TYPO3 Insecure Deserialization Vulnerability

  • CVE-2025-59022: TYPO3 CMS Privilege Escalation Vulnerability

  • CVE-2026-0859: TYPO3 CMS RCE Vulnerability

  • CVE-2025-59020: TYPO3 CMS Auth Bypass 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