CVE-2020-25102 silverstripe-advancedreports vulnerable to XSS

Medium 6.1 Published Updated

An attacker can inject malicious JavaScript via SVG documents in the report description field, potentially executing code in the admin interface.

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
None listed

What is CVE-2020-25102?

CVE-2020-25102 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Sep 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-advancedreports (aka the Advanced Reports module for SilverStripe) 1.0 through 2.0 is vulnerable to Cross-Site Scripting (XSS) because it is possible to inject and store malicious JavaScript code. The affects admin/advanced-reports/DataObjectReport/EditForm/field/DataObjectReport/item (aka report preview) when an SVG document is provided in the Description parameter.

Weakness: CWE-79

Which versions are affected by CVE-2020-25102?

2 open source packages ship an affected version, including silverstripe-australia/advancedreports. It affects 1 product.

PackageAffectedFixed in
silverstripe-australia/advancedreports PackagistFrom 1.0 to 2.0None
silverstripe-australia/advancedreports PackagistFrom 1.0 to 2.0None

Products include Advanced Reports Project Advanced Reports.

How do I fix CVE-2020-25102?

No fix has been published for CVE-2020-25102 yet. Limit exposure of the affected software until one is available.

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-25102 being exploited?

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

Sources

Also known as GHSA-8f2x-hv9r-mh9r.

Is CVE-2020-25102 in your software?

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

Check your SBOMs for free