GHSA-2rcw-9hrm-8q7q TYPO3 Cross-Site Scripting in Frontend User Login

Not scored Published

Authenticated users can inject scripts into the frontend login status display, potentially stealing session cookies or performing actions on behalf of 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-2rcw-9hrm-8q7q?

GHSA-2rcw-9hrm-8q7q is a cross-site scripting vulnerability in typo3/cms, published on 7 Jun 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-2rcw-9hrm-8q7q?

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

PackageAffectedFixed in
typo3/cms PackagistFrom 7.0.07.6.32
typo3/cms PackagistFrom 7.0.07.6.32
typo3/cms PackagistFrom 8.0.08.7.21
typo3/cms PackagistFrom 8.0.08.7.21
typo3/cms PackagistFrom 9.0.09.5.2
typo3/cms PackagistFrom 9.0.09.5.2

How do I fix GHSA-2rcw-9hrm-8q7q?

Upgrade typo3/cms 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-2rcw-9hrm-8q7q being exploited?

There is no known exploitation of GHSA-2rcw-9hrm-8q7q in the wild and no public exploit code.

Sources

Is GHSA-2rcw-9hrm-8q7q in your software?

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

Check your SBOMs for free