CVE-2020-28470 Cross-site Scripting (XSS)

High 7.3 Published Updated

An attacker can inject malicious scripts into the HTML page via serialized state, leading to cross-site scripting attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-28470?

CVE-2020-28470 is a high-severity cross-site scripting vulnerability in @scullyio/scully, published on 14 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This affects the package @scullyio/scully before 1.0.9. The transfer state is serialised with the JSON.stringify() function and then written into the HTML page.

Weakness: CWE-79

Which versions are affected by CVE-2020-28470?

4 open source packages ship an affected version, including @scullyio/scully and @scullyio/ng-lib. It affects 1 product.

PackageAffectedFixed in
@scullyio/scully npmAll versions1.0.9
@scullyio/scully npmAll versions1.0.9
@scullyio/ng-lib npmAll versions1.0.1
@scullyio/ng-lib npmAll versions1.0.1

Products include Scully Scully.

How do I fix CVE-2020-28470?

Upgrade @scullyio/scully to 1.0.9 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-2020-28470 being exploited?

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

Sources

Also known as GHSA-r96p-v3cr-gfv8.

Is CVE-2020-28470 in your software?

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

Check your SBOMs for free