CVE-2020-27388 YOURLS Stored Cross Site Scripting (XSS)

Medium 5.4 Published Updated

Authenticated users can inject malicious scripts via PHP plugins in YOURLS, leading to stored XSS attacks against other users.

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-27388?

CVE-2020-27388 is a medium-severity cross-site scripting vulnerability in n/a, published on 23 Oct 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

Multiple Stored Cross Site Scripting (XSS) vulnerabilities exist in the YOURLS Admin Panel, Versions 1.5 - 1.7.10. An authenticated user must modify a PHP plugin with a malicious payload and upload it, resulting in multiple stored XSS issues.

Weakness: CWE-79

Which versions are affected by CVE-2020-27388?

2 open source packages ship an affected version, including yourls/yourls. It affects 1 product.

PackageAffectedFixed in
yourls/yourls PackagistFrom 1.51.8
yourls/yourls PackagistFrom 1.51.8

Products include Yourls Yourls.

How do I fix CVE-2020-27388?

Upgrade yourls/yourls to 1.8 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-27388 being exploited?

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

Sources

Also known as GHSA-pwgg-r6fq-mf94.

Is CVE-2020-27388 in your software?

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

Check your SBOMs for free