Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. typo3/cms
  4. ›
  5. CVE-2022-23503

CVE-2022-23503: Improper Control of Generation of Code ('Code Injection')

December 14, 2022 (updated December 16, 2022)

TYPO3 is an open source PHP based web content management system. Versions prior to 8.7.49, 9.5.38, 10.4.33, 11.5.20, and 12.1.1 is vulnerable to Code Injection. Due to the lack of separating user-submitted data from the internal configuration in the Form Designer backend module, it is possible to inject code instructions to be processed and executed via TypoScript as PHP code. The existence of individual TypoScript instructions for a particular form item and a valid backend user account with access to the form module are needed to exploit this vulnerability. This issue is patched in versions 8.7.49 ELTS, 9.5.38 ELTS, 10.4.33, 11.5.20, 12.1.1.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2022-23503.yaml
  • github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2022-23503.yaml
  • github.com/TYPO3/typo3/commit/1302e88565821f2159e08b5d818d28de17ecc830
  • github.com/TYPO3/typo3/security/advisories/GHSA-c5wx-6c2c-f7rm
  • github.com/advisories/GHSA-c5wx-6c2c-f7rm
  • typo3.org/security/advisory/typo3-core-sa-2022-015

Code Behaviors & Features

Detect and mitigate CVE-2022-23503 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.0.0 before 8.7.49, all versions starting from 9.0.0 before 9.5.38, all versions starting from 10.0.0 before 10.4.33, all versions starting from 11.0.0 before 11.5.20, all versions starting from 12.0.0 before 12.1.1

Fixed versions

  • 10.4.33
  • 11.5.20
  • 12.1.1

Solution

Upgrade to versions 10.4.33, 11.5.20, 12.1.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/typo3/cms/CVE-2022-23503.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:37 +0000.