MediumGHSA-hww5-6x85-mc24

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

Published 5 Jun 2024 · Updated 2 Dec 2024

Affected packages

typo3/cmsComposer
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:^8.7.27
typo3/cmsComposer
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:^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-hww5-6x85-mc24 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, and gives you the command that fixes it.

References

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