GHSA-wg8h-gxf4-g4gh TYPO3 Cross-Site Scripting in Online Media Asset Rendering

Not scored Published

An authenticated backend user can inject malicious scripts via online media assets, leading to cross-site scripting attacks against other users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-wg8h-gxf4-g4gh?

GHSA-wg8h-gxf4-g4gh is a cross-site scripting vulnerability in typo3/cms-core, published on 30 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Failing to properly encode user input, online media asset rendering (*.youtube and *.vimeo files) is vulnerable to cross-site scripting. A valid backend user account or write access on the server system (e.g. SFTP) is needed in order to exploit this vulnerability.

Which versions are affected by GHSA-wg8h-gxf4-g4gh?

4 open source packages ship an affected version, including typo3/cms-core.

PackageAffectedFixed in
typo3/cms-core PackagistFrom 8.0.08.7.21
typo3/cms-core PackagistFrom 8.0.08.7.21
typo3/cms-core PackagistFrom 9.0.09.5.2
typo3/cms-core PackagistFrom 9.0.09.5.2

How do I fix GHSA-wg8h-gxf4-g4gh?

Upgrade typo3/cms-core to a fixed version for your release line: 8.7.21 or 9.5.2.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is GHSA-wg8h-gxf4-g4gh being exploited?

There is no known exploitation of GHSA-wg8h-gxf4-g4gh in the wild and no public exploit code.

Sources

Is GHSA-wg8h-gxf4-g4gh in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free