CVE-2021-36150 Cross-site Scripting in SilverStripe Framework
Cross-site scripting vulnerability in SilverStripe Framework allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-36150?
CVE-2021-36150 is a medium-severity cross-site scripting vulnerability in Silverstripe Silverstripe, published on 7 Oct 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
SilverStripe Framework through 4.8.1 allows XSS.
Weakness: CWE-79
Which versions are affected by CVE-2021-36150?
3 open source packages ship an affected version, including silverstripe/admin and silverstripe. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/admin Packagist | From 1.0.0 | 1.8.1 |
silverstripe/admin Packagist | From 1.0.0 | 1.8.1 |
silverstripe Bitnami | From 1.0.0 | 1.8.1, 4.8.1 |
Products include Silverstripe Silverstripe.
How do I fix CVE-2021-36150?
Upgrade silverstripe/admin to 1.8.1 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-2021-36150 being exploited?
There is no known exploitation of CVE-2021-36150 in the wild and no public exploit code.
Other vulnerabilities in Silverstripe Silverstripe
Sources
Also known as BIT-silverstripe-2021-36150, GHSA-j66h-cc96-c32q.