CVE-2022-38462 Reflected XSS in querystring parameters

Medium 6.1 Published Updated

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.

PackageAffectedFixed in
silverstripe/framework PackagistFrom 4.0.04.11.13
silverstripe/framework PackagistFrom 4.0.04.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.

Sources

Also known as GHSA-vvxf-r4vm-2vm6.

Is CVE-2022-38462 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free