Cross-Site Scripting Vulnerability in TYPO3 Form Framework (GHSA-4h5c-5g25-v7fh)

typo3/cms Updated 02 Oct 2025

Summary

07/06/2024
MODERATE
Yes i
Moderate
6.1

GHSA-4h5c-5g25-v7fh: TYPO3 Cross-Site Scripting in Form Framework. Affects typo3/cms across 2 version ranges.

>= 8.0.0, < 8.7.23 >= 9.0.0, < 9.5.4

Fixed in 8.7.23 or 9.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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

TYPO3 is an open-source content management system (CMS) that enables users to create and manage websites efficiently. The system extension 'form' within TYPO3 allows developers to build and manage frontend forms. However, this extension has been found to be vulnerable to cross-site scripting (XSS) attacks due to improper encoding of user input, which can lead to security breaches.

Vulnerability Detail

The vulnerability arises from the failure to properly encode user input in frontend forms managed by the TYPO3 form framework. This oversight can allow attackers to inject malicious scripts into web pages viewed by other users, potentially leading to data theft, session hijacking, or other malicious activities. The vulnerability is classified under CWE-79, which pertains to improper neutralization of input during web page generation.

How To Fix

Fixed versions by release line

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

  • >= 8.0.0, < 8.7.23 8.7.23
    composer require typo3/cms:8.7.23
  • >= 9.0.0, < 9.5.4 9.5.4
    composer require typo3/cms:9.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 measure, ensure that user inputs are properly sanitized and validated before being processed by the form framework. This can help mitigate the risk of XSS attacks until the package is updated.

Conclusion

The TYPO3 form framework is vulnerable to cross-site scripting due to improper encoding of user input. It is crucial for users to update their TYPO3 installations to the latest patched versions to mitigate this risk. Additionally, employing best practices for input validation can help prevent such vulnerabilities in the future.

See every vulnerability recorded for typo3/cms →

Share this vulnerability

FAQ

Cross-site scripting (XSS) is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without signup.

If exploited, this vulnerability can lead to data theft, unauthorized actions on behalf of users, and compromise of user sessions.

Yes, implementing proper input validation and output encoding can significantly reduce the risk of XSS attacks.

The CVSS score for this vulnerability is 6.1, indicating a moderate severity level.

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.

  • >= 8.0.0, < 8.7.23 8.7.23
    composer require typo3/cms:8.7.23
  • >= 9.0.0, < 9.5.4 9.5.4
    composer require typo3/cms:9.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