GHSA-4h54-vwx9-3vr3 Silverstripe XSS In FormAction
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
Which versions are affected by GHSA-4h54-vwx9-3vr3?
2 open source packages ship an affected version, including silverstripe/framework.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | From 3.1.0 | 3.1.10 |
silverstripe/framework Packagist | From 3.1.0 | 3.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.