CVE-2020-9311 Silverstripe CMS XSS Vulnerability

Medium 5.4 Published Updated

Authenticated users can inject malicious scripts via profile information, leading to XSS attacks against other users in SilverStripe CMS.

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-2020-9311?

CVE-2020-9311 is a medium-severity cross-site scripting vulnerability in Silverstripe Silverstripe, published on 15 Jul 2020. 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 through 4.5, malicious users with a valid Silverstripe CMS login (usually CMS access) can craft profile information which can lead to XSS for other users through specially crafted login form URLs.

Weakness: CWE-79

Which versions are affected by CVE-2020-9311?

5 open source packages ship an affected version, including silverstripe/cms, silverstripe and silverstripe/framework. It affects 1 product.

PackageAffectedFixed in
silverstripe/cms PackagistAll versions to 4.5.0None
silverstripe/cms PackagistAll versions to 4.5.0None
silverstripe BitnamiFrom 3.0.03.7.5
silverstripe/framework PackagistFrom 3.0.03.7.5
silverstripe/framework PackagistFrom 3.0.03.7.5

Products include Silverstripe Silverstripe.

How do I fix CVE-2020-9311?

Upgrade to a fixed version.

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-2020-9311 being exploited?

There is no known exploitation of CVE-2020-9311 in the wild and no public exploit code.

All Silverstripe Silverstripe vulnerabilities

Sources

Also known as BIT-silverstripe-2020-9311, GHSA-2pw2-qpcp-m47x.

Is CVE-2020-9311 in your software?

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

Check your SBOMs for free