CVE-2011-4903: Typo3 XSS in RemoveXSS function

typo3/cms Updated 02 Oct 2025

Summary

22/04/2022
Yes i
Moderate
6.1

CVE-2011-4903: Typo3 XSS in RemoveXSS function. Affects typo3/cms across 3 version ranges.

< 4.3.12 >= 4.4.0, < 4.4.9 >= 4.5.0, < 4.5.4

Fixed in 4.3.12, 4.4.9 or 4.5.4, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Typo3 is an open-source content management system (CMS) used for building and managing websites. It provides a wide range of features and functionalities for website development and customization. However, versions before 4.3.12, 4.4.x before 4.4.9, and 4.5.x before 4.5.4 of Typo3 are vulnerable to a Cross-site Scripting (XSS) attack. This vulnerability allows remote attackers to inject arbitrary web script or HTML via the RemoveXSS function.

Vulnerability Detail

The XSS vulnerability in Typo3 arises from a lack of proper input sanitization in the RemoveXSS function. This function fails to properly validate and sanitize user-supplied input, allowing malicious actors to inject and execute arbitrary web script or HTML code. This can lead to various security risks, including session hijacking, defacement of web pages, and theft of sensitive user information.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 4.3.12 4.3.12
    composer require typo3/cms:4.3.12
  • >= 4.4.0, < 4.4.9 4.4.9
    composer require typo3/cms:4.4.9
  • >= 4.5.0, < 4.5.4 4.5.4
    composer require typo3/cms:4.5.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, developers can manually implement input sanitization and validation in the affected RemoveXSS function. This can be done by using appropriate security libraries or functions that sanitize user input and remove any potentially malicious code. Here is an example of how the RemoveXSS function can be modified to mitigate the XSS vulnerability:

function RemoveXSS($input) {
  // Implement input sanitization and validation here
  return $sanitizedInput;
}

Please note that this is just a basic example, and it is recommended to consult security experts or follow best practices for proper input sanitization and validation.

Conclusion

The XSS vulnerability in Typo3 poses a significant security risk to websites using affected versions. It is crucial to upgrade to the latest patched versions (4.3.12, 4.4.9, or 4.5.4) to mitigate the vulnerability. Regularly updating the CMS and following best practices for input sanitization and validation are essential for maintaining the security and integrity of the website. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for typo3/cms →

Share this vulnerability

FAQ

Typo3 is an open-source content management system (CMS) used for building and managing websites. It provides a wide range of features and functionalities for website development and customization.

Cross-site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various security risks, including session hijacking, defacement of web pages, and theft of sensitive user information.

The XSS vulnerability in Typo3 allows remote attackers to inject arbitrary web script or HTML code into web pages. This can lead to various security risks, including session hijacking, defacement of web pages, and theft of sensitive user information.

To fix the XSS vulnerability in Typo3, it is recommended to upgrade to the latest version (4.3.12, 4.4.9, or 4.5.4) that includes patches addressing the vulnerability. It is crucial to keep the CMS up to date to ensure the security and integrity of the website.

As a temporary workaround, developers can manually implement input sanitization and validation in the affected RemoveXSS function. This can be done by using appropriate security libraries or functions that sanitize user input and remove any potentially malicious code.

Related vulnerabilities

Recent vulnerabilities recorded for typo3/cms.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 4.3.12 4.3.12
    composer require typo3/cms:4.3.12
  • >= 4.4.0, < 4.4.9 4.4.9
    composer require typo3/cms:4.4.9
  • >= 4.5.0, < 4.5.4 4.5.4
    composer require typo3/cms:4.5.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback