Cross-Site Scripting in TYPO3 Backend

typo3/cms Updated 02 Oct 2025

Summary

05/06/2024
MODERATE
Yes i
Moderate
4.6

GHSA-86r8-4g3w-7xjp: Cross-Site Scripting in TYPO3 Backend. Affects typo3/cms across 3 version ranges.

>= 6.2.0, < 6.2.26 >= 7.6.0, < 7.6.10 >= 8.0.0, < 8.2.1

Fixed in 6.2.26, 7.6.10 or 8.2.1, 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 CMS is an open-source content management system used for building and managing websites. It provides a backend interface for administrators to manage content, users, and other system settings. However, certain components within the TYPO3 backend are vulnerable to Cross-Site Scripting (XSS) attacks. This means that an attacker can inject malicious scripts into the backend, potentially compromising the security and integrity of the system. To exploit this vulnerability, the attacker would need a valid backend user account.

Vulnerability Detail

The vulnerability arises from a failure to properly encode user input in certain backend components of TYPO3. This allows an attacker to inject arbitrary JavaScript code into the backend, which is then executed by the victim's browser. The impact of a successful XSS attack can range from stealing sensitive information, such as login credentials, to performing unauthorized actions on behalf of the victim. The vulnerability has a CVSS score of 4.6, indicating a moderate severity level.

How To Fix

Fixed versions by release line

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

  • >= 6.2.0, < 6.2.26 6.2.26
    composer require typo3/cms:6.2.26
  • >= 7.6.0, < 7.6.10 7.6.10
    composer require typo3/cms:7.6.10
  • >= 8.0.0, < 8.2.1 8.2.1
    composer require typo3/cms:8.2.1

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, users can implement input validation and output encoding in their custom TYPO3 extensions to prevent XSS attacks. This can be achieved by using appropriate sanitization functions and escaping user-generated content before displaying it in the backend interface. Here's an example of how to sanitize user input in PHP:

$input = $_POST['input'];
$sanitizedInput = htmlspecialchars($input, ENT_QUOTES, 'UTF-8');

By applying such measures, the risk of XSS attacks can be reduced until the TYPO3 CMS is updated to a secure version.

Conclusion

In conclusion, TYPO3 CMS is vulnerable to Cross-Site Scripting (XSS) attacks in certain backend components. This can be exploited by injecting malicious scripts into the backend, potentially leading to unauthorized actions and data theft. It is crucial to update TYPO3 CMS to the latest secure version and apply the necessary security patches. Additionally, implementing input validation and output encoding in custom extensions can serve as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for typo3/cms →

Share this vulnerability

FAQ

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. These scripts can be used to steal sensitive information, manipulate website content, or perform unauthorized actions on behalf of the victim.

To exploit this vulnerability, an attacker needs a valid backend user account in TYPO3 CMS. They can then inject malicious scripts into the backend by exploiting the lack of input validation and output encoding in certain components. When a privileged user accesses the affected backend pages, the injected scripts are executed in their browser, allowing the attacker to carry out various malicious activities.

A successful XSS attack can have various consequences, including but not limited to:

  • Theft of sensitive information, such as login credentials or personal data
  • Manipulation of website content, leading to defacement or unauthorized modifications
  • Session hijacking, allowing the attacker to impersonate the victim and perform actions on their behalf
  • Distribution of malware or phishing attacks through compromised pages
  • Impact on user trust and reputation of the affected website or application

Yes, the TYPO3 CMS project has released updates that address this XSS vulnerability. It is strongly recommended to update to the latest secure version of TYPO3 CMS to mitigate the risk of exploitation.

Yes, as a temporary workaround, users can implement input validation and output encoding in their custom TYPO3 extensions. By sanitizing user input and properly escaping output, the risk of XSS attacks can be reduced. However, applying the official security updates is still the recommended approach to fully address the vulnerability.

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.

  • >= 6.2.0, < 6.2.26 6.2.26
    composer require typo3/cms:6.2.26
  • >= 7.6.0, < 7.6.10 7.6.10
    composer require typo3/cms:7.6.10
  • >= 8.0.0, < 8.2.1 8.2.1
    composer require typo3/cms:8.2.1

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