GHSA-r85g-7jpv-8xrx silverstripe/framework has Cross-site Scripting vulnerability in CMSSecurity BackURL

Not scored Published

An attacker can execute arbitrary scripts in the SilverStripe CMS admin interface via a cross-site scripting vulnerability in the BackURL parameter.

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-r85g-7jpv-8xrx?

GHSA-r85g-7jpv-8xrx 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

In follow up to SS-2016-001 there is yet a minor unresolved fix to incorrectly encoded URL.

Which versions are affected by GHSA-r85g-7jpv-8xrx?

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

PackageAffectedFixed in
silverstripe/framework PackagistFrom 3.1.0-rc13.1.21
silverstripe/framework PackagistFrom 3.1.0-rc13.1.21
silverstripe/framework PackagistFrom 3.2.0-rc13.2.6
silverstripe/framework PackagistFrom 3.2.0-rc13.2.6
silverstripe/framework PackagistFrom 3.3.0-rc13.3.4
silverstripe/framework PackagistFrom 3.3.0-rc13.3.4
2 more packages
silverstripe/framework PackagistFrom 3.4.0-rc13.4.2
silverstripe/framework PackagistFrom 3.4.0-rc13.4.2

How do I fix GHSA-r85g-7jpv-8xrx?

Upgrade silverstripe/framework to a fixed version for your release line: 3.1.21, 3.2.6, 3.3.4 or 3.4.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-r85g-7jpv-8xrx being exploited?

There is no known exploitation of GHSA-r85g-7jpv-8xrx in the wild and no public exploit code.

Sources

Is GHSA-r85g-7jpv-8xrx in your software?

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

Check your SBOMs for free