CVE-2022-28803 Stored XSS in link tags added via XHR in SilverStripe Framework
Stored XSS in SilverStripe Framework allows attackers to inject malicious scripts via XHR link tags, 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 CVE-2022-28803?
CVE-2022-28803 is a medium-severity cross-site scripting vulnerability in Silverstripe Silverstripe, published on 29 Jun 2022. 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 SilverStripe Framework through 2022-04-07, Stored XSS can occur in javascript link tags added via XMLHttpRequest (XHR).
Weakness: CWE-79
Which versions are affected by CVE-2022-28803?
3 open source packages ship an affected version, including silverstripe/framework and silverstripe. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | From 4.0.0 | 4.10.9 |
silverstripe/framework Packagist | From 4.0.0 | 4.10.9 |
silverstripe Bitnami | All versions | 4.10.9 |
Products include Silverstripe Silverstripe.
How do I fix CVE-2022-28803?
Upgrade silverstripe/framework to 4.10.9 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 CVE-2022-28803 being exploited?
There is no known exploitation of CVE-2022-28803 in the wild and no public exploit code.
Other vulnerabilities in Silverstripe Silverstripe
Sources
Also known as BIT-silverstripe-2022-28803, GHSA-rppc-655v-7j3c.