GHSA-779c-7w4p-2c4g Silverstripe admin XSS Vulnerability via WYSIWYG editor
Authenticated CMS users can inject malicious JavaScript via WYSIWYG editor attributes, potentially leading to session hijacking or code execution.
- 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-779c-7w4p-2c4g?
GHSA-779c-7w4p-2c4g is a cross-site scripting vulnerability in silverstripe/admin, published on 22 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-779c-7w4p-2c4g?
4 open source packages ship an affected version, including silverstripe/admin.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/admin Packagist | From 1.0.3 | 1.0.4 |
silverstripe/admin Packagist | From 1.0.3 | 1.0.4 |
silverstripe/admin Packagist | From 1.1.0 | 1.1.1 |
silverstripe/admin Packagist | From 1.1.0 | 1.1.1 |
How do I fix GHSA-779c-7w4p-2c4g?
Upgrade silverstripe/admin to a fixed version for your release line: 1.0.4 or 1.1.1.
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-779c-7w4p-2c4g being exploited?
There is no known exploitation of GHSA-779c-7w4p-2c4g in the wild and no public exploit code.