GHSA-hhvj-mcrx-3vcf silverstripe/framework has Cross-site Scripting vulnerability in page name
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
"><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.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | From 3.4.0-rc1 | 3.4.4 |
silverstripe/framework Packagist | From 3.4.0-rc1 | 3.4.4 |
silverstripe/framework Packagist | From 3.5.0-rc1 | 3.5.2 |
silverstripe/framework Packagist | From 3.5.0-rc1 | 3.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.