CVE-2019-19325 Reflected XSS in SilverStripe

Medium 6.1 Published Updated

Reflected XSS in SilverStripe login and custom forms allows attackers to inject scripts, potentially stealing user credentials or sensitive data.

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-2019-19325?

CVE-2019-19325 is a medium-severity cross-site scripting vulnerability in Silverstripe Silverstripe, published on 17 Feb 2020. 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 through 4.4.x before 4.4.5 and 4.5.x before 4.5.2 allows Reflected XSS on the login form and custom forms. Silverstripe Forms allow malicious HTML or JavaScript to be inserted through non-scalar FormField attributes, which allows performing XSS (Cross-Site Scripting) on some forms built with user input (Request data). This can lead to phishing attempts to obtain a user's credentials or other sensitive user input.

Weakness: CWE-79

Which versions are affected by CVE-2019-19325?

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

PackageAffectedFixed in
silverstripe/framework PackagistFrom 4.0.04.4.5
silverstripe/framework PackagistFrom 4.0.04.4.5
silverstripe/framework PackagistFrom 4.5.04.5.2
silverstripe/framework PackagistFrom 4.5.04.5.2

Products include Silverstripe Silverstripe.

How do I fix CVE-2019-19325?

Upgrade silverstripe/framework to a fixed version for your release line: 4.4.5 or 4.5.2.

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-2019-19325 being exploited?

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

All Silverstripe Silverstripe vulnerabilities

Sources

Also known as GHSA-qvrv-2x7x-78x2.

Is CVE-2019-19325 in your software?

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

Check your SBOMs for free