GHSA-8c25-vj2w-p72j TYPO3 Cross-Site Scripting in Frontend User Login

Not scored Published

Authenticated users can inject scripts via login status display, potentially stealing session data or hijacking accounts.

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-8c25-vj2w-p72j?

GHSA-8c25-vj2w-p72j 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, login status display is vulnerable to cross-site scripting in the website frontend. A valid user account is needed in order to exploit this vulnerability - either a backend user or a frontend user having the possibility to modify their user profile.

Template patterns that are affected are

  • ###FEUSER_[fieldName]### using system extension felogin
  • <!–###USERNAME###–> for regular frontend rendering (pattern can be defined individually using TypoScript setting config.USERNAME_substToken)

Which versions are affected by GHSA-8c25-vj2w-p72j?

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

PackageAffectedFixed in
typo3/cms-core PackagistFrom 7.1.07.6.32
typo3/cms-core PackagistFrom 7.1.07.6.32
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-8c25-vj2w-p72j?

Upgrade typo3/cms-core to a fixed version for your release line: 7.6.32, 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-8c25-vj2w-p72j being exploited?

There is no known exploitation of GHSA-8c25-vj2w-p72j in the wild and no public exploit code.

Sources

Is GHSA-8c25-vj2w-p72j in your software?

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

Check your SBOMs for free