CVE-2022-38462 Reflected XSS in querystring parameters
Attackers can execute arbitrary scripts via crafted return URLs in Silverstripe login or build endpoints, potentially compromising user sessions.
- 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-2022-38462?
CVE-2022-38462 is a medium-severity cross-site scripting vulnerability in n/a, published on 22 Nov 2022. 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 silverstripe/framework through 4.11 is vulnerable to XSS by carefully crafting a return URL on a /dev/build or /Security/login request.
Weakness: CWE-79
Which versions are affected by CVE-2022-38462?
2 open source packages ship an affected version, including silverstripe/framework. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | From 4.0.0 | 4.11.13 |
silverstripe/framework Packagist | From 4.0.0 | 4.11.13 |
Products include Silverstripe Framework.
How do I fix CVE-2022-38462?
Upgrade silverstripe/framework to 4.11.13 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-38462 being exploited?
There is no known exploitation of CVE-2022-38462 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2022-38148 Blind SQL Injection via GridFieldSortableHeader
- CVE-2025-30148 Silverstripe Framework has a XSS vulnerability in HTML editor
- CVE-2024-53277 Cross-site Scripting in form messages in silverstripe framework
- CVE-2024-32981 Cross-site Scripting vulnerability with encoded payload in silverstripe/framework
- CVE-2023-22729 Silverstripe Framework has open redirect vulnerability on CMSSecurity relogin screen
Sources
Also known as GHSA-vvxf-r4vm-2vm6.