GHSA-pp7q-6j3f-74vj silverstripe/framework has Cross-site Scripting vulnerability in RedirectorPage

Not scored Published

An attacker can inject malicious scripts into RedirectorPage redirection paths, leading to script execution in victim browsers.

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-pp7q-6j3f-74vj?

GHSA-pp7q-6j3f-74vj 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

RedirectorPage will allow users to specify a non-url malicious script as the redirection path without validation. Users which follow this url may allow this script to execute within their browser.

Which versions are affected by GHSA-pp7q-6j3f-74vj?

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

PackageAffectedFixed in
silverstripe/framework PackagistFrom 3.4.0-rc13.4.6
silverstripe/framework PackagistFrom 3.4.0-rc13.4.6
silverstripe/framework PackagistFrom 3.5.0-rc13.5.4
silverstripe/framework PackagistFrom 3.5.0-rc13.5.4

How do I fix GHSA-pp7q-6j3f-74vj?

Upgrade silverstripe/framework to a fixed version for your release line: 3.4.6 or 3.5.4.

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-pp7q-6j3f-74vj being exploited?

There is no known exploitation of GHSA-pp7q-6j3f-74vj in the wild and no public exploit code.

Sources

Is GHSA-pp7q-6j3f-74vj in your software?

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

Check your SBOMs for free