GHSA-4h54-vwx9-3vr3 Silverstripe XSS In FormAction

Not scored Published

An attacker can inject malicious scripts via the FormAction title field, potentially compromising user sessions in Silverstripe applications.

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-4h54-vwx9-3vr3?

GHSA-4h54-vwx9-3vr3 is a cross-site scripting vulnerability in silverstripe/framework, published on 23 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

A cross-site scripting vulnerability has been discovered in the FormAction field where a user-specified title may be specified.

Which versions are affected by GHSA-4h54-vwx9-3vr3?

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

PackageAffectedFixed in
silverstripe/framework PackagistFrom 3.1.03.1.10
silverstripe/framework PackagistFrom 3.1.03.1.10

How do I fix GHSA-4h54-vwx9-3vr3?

Upgrade silverstripe/framework to 3.1.10 or later.

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-4h54-vwx9-3vr3 being exploited?

There is no known exploitation of GHSA-4h54-vwx9-3vr3 in the wild and no public exploit code.

Sources

Is GHSA-4h54-vwx9-3vr3 in your software?

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

Check your SBOMs for free