GHSA-hhvj-mcrx-3vcf silverstripe/framework has Cross-site Scripting vulnerability in page name

Not scored Published

An attacker can inject malicious scripts via page names in SilverStripe, potentially stealing user sessions or data.

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-hhvj-mcrx-3vcf?

GHSA-hhvj-mcrx-3vcf is a cross-site scripting vulnerability in silverstripe/framework, published on 27 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

silverstripe/framework is vulnerable to XSS in Page name where the payload "><svg/onload=alert(/xss/)> will trigger an XSS alert.

Which versions are affected by GHSA-hhvj-mcrx-3vcf?

4 open source packages ship an affected version, including silverstripe/framework.

PackageAffectedFixed in
silverstripe/framework PackagistFrom 3.4.0-rc13.4.4
silverstripe/framework PackagistFrom 3.4.0-rc13.4.4
silverstripe/framework PackagistFrom 3.5.0-rc13.5.2
silverstripe/framework PackagistFrom 3.5.0-rc13.5.2

How do I fix GHSA-hhvj-mcrx-3vcf?

Upgrade silverstripe/framework to a fixed version for your release line: 3.4.4 or 3.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-hhvj-mcrx-3vcf being exploited?

There is no known exploitation of GHSA-hhvj-mcrx-3vcf in the wild and no public exploit code.

Sources

Is GHSA-hhvj-mcrx-3vcf in your software?

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

Check your SBOMs for free