GHSA-p5c5-gmj4-g48f Cross-Site Scripting (XSS) vulnerability in typolinks

Not scored Published

Authorized editors can inject malicious scripts via data URLs in link fields, allowing 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-p5c5-gmj4-g48f?

GHSA-p5c5-gmj4-g48f is a cross-site scripting vulnerability in typo3/cms, published on 5 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

All link fields within the TYPO3 installation are vulnerable to Cross-Site Scripting as authorized editors can insert data commands by using the url scheme "data:".

Which versions are affected by GHSA-p5c5-gmj4-g48f?

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

PackageAffectedFixed in
typo3/cms PackagistFrom 6.2.06.2.26
typo3/cms PackagistFrom 6.2.06.2.26
typo3/cms PackagistFrom 7.6.07.6.10
typo3/cms PackagistFrom 7.6.07.6.10
typo3/cms PackagistFrom 8.0.08.2.1
typo3/cms PackagistFrom 8.0.08.2.1

How do I fix GHSA-p5c5-gmj4-g48f?

Upgrade typo3/cms to a fixed version for your release line: 6.2.26, 7.6.10 or 8.2.1.

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-p5c5-gmj4-g48f being exploited?

There is no known exploitation of GHSA-p5c5-gmj4-g48f in the wild and no public exploit code.

Sources

Is GHSA-p5c5-gmj4-g48f in your software?

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

Check your SBOMs for free