CVE-2020-27388 YOURLS Stored Cross Site Scripting (XSS)
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.
| Package | Affected | Fixed in |
|---|---|---|
yourls/yourls Packagist | From 1.5 | 1.8 |
yourls/yourls Packagist | From 1.5 | 1.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.
Other vulnerabilities in n/a
- CVE-2019-14537 Access of Resource Using Incompatible Type ('Type Confusion') in yourls/yourls
- CVE-2021-3785 Cross-site Scripting (XSS) - Stored in yourls/yourls
- CVE-2021-3783 Cross-site Scripting (XSS) - Reflected in yourls/yourls
- CVE-2021-3734 Improper Restriction of Rendered UI Layers or Frames in yourls/yourls
- CVE-2011-3824 Information disclosure in n/a
Sources
Also known as GHSA-pwgg-r6fq-mf94.