HighGHSA-x428-565f-8xj2

TYPO3 Arbitrary Code Execution and Cross-Site Scripting in Backend API

Published 30 May 2024 · Updated 6 Dec 2024

Affected packages

Affected
>=8.0.0 <8.7.27
Fixed in
8.7.27
Update to the fixed version for your release line, for example:composer require typo3/cms-core:^8.7.27
Affected
>=9.0.0 <9.5.8
Fixed in
9.5.8
Update to the fixed version for your release line, for example:composer require typo3/cms-core:^9.5.8

Details

Backend API configuration using Page TSconfig is vulnerable to arbitrary code execution and cross-site scripting. TSconfig fields of page properties in backend forms can be used to inject malicious sequences. Field tsconfig_includes is vulnerable to directory traversal leading to same scenarios as having direct access to TSconfig settings.

A valid backend user account having access to modify values for fields pages.TSconfig and pages.tsconfig_includes is needed in order to exploit this vulnerability.

Is GHSA-x428-565f-8xj2 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected typo3/cms-core, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.