CVE-2022-37421 Silverstipe CMS Stored XSS in custom meta tags
Attackers can inject malicious scripts into Silverstripe CMS pages, potentially stealing user sessions or executing code in victim browsers.
- 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-37421?
CVE-2022-37421 is a medium-severity cross-site scripting vulnerability in Silverstripe Silverstripe, published on 23 Nov 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
Silverstripe silverstripe/cms through 4.11.0 allows XSS.
Weakness: CWE-79
Which versions are affected by CVE-2022-37421?
3 open source packages ship an affected version, including silverstripe/cms and silverstripe. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/cms Packagist | From 4.0.0 | 4.11.3 |
silverstripe/cms Packagist | From 4.0.0 | 4.11.3 |
silverstripe Bitnami | From 3.0.0 | 4.11.3 |
Products include Silverstripe Silverstripe.
How do I fix CVE-2022-37421?
Upgrade silverstripe/cms to 4.11.3 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-37421 being exploited?
There is no known exploitation of CVE-2022-37421 in the wild and no public exploit code.
Other vulnerabilities in Silverstripe Silverstripe
Sources
Also known as BIT-silverstripe-2022-37421, GHSA-pp74-g2q5-j4jf.