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

yourls/yourls Updated 02 Oct 2025

Summary

24/05/2022
Yes i
Moderate
5.4

CVE-2020-27388: YOURLS Stored Cross Site Scripting (XSS). Affects yourls/yourls versions >= 1.5, < 1.8. Fixed in 1.8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

YOURLS is an open-source URL shortener written in PHP. It allows users to create and manage their own URL shortening service. YOURLS Admin Panel is a component of YOURLS that provides an interface for administrators to manage the URL shortening service. The vulnerability affects YOURLS Admin Panel versions 1.5 to 1.7.10.

Vulnerability Detail

Multiple Stored Cross Site Scripting (XSS) vulnerabilities exist in the YOURLS Admin Panel. These vulnerabilities can be exploited by an authenticated user who modifies a PHP plugin with a malicious payload and uploads it. This results in multiple stored XSS issues. The impact of these vulnerabilities can range from unauthorized access to sensitive information to the execution of arbitrary code in the context of the affected user's browser.

How To Fix

Minimum fixed version

1.8

This is the first release that contains the fix.

composer require yourls/yourls:1.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to the latest version of YOURLS Admin Panel.

Conclusion

The YOURLS Admin Panel is vulnerable to multiple stored XSS vulnerabilities. To mitigate the risk, it is crucial to upgrade to the latest version of YOURLS Admin Panel. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for yourls/yourls →

Share this vulnerability

FAQ

YOURLS is an open-source URL shortener written in PHP. It allows users to create and manage their own URL shortening service.

The YOURLS Admin Panel is a component of YOURLS that provides an interface for administrators to manage the URL shortening service.

Versions 1.5 to 1.7.10 of YOURLS Admin Panel are affected by this vulnerability.

The impact of the vulnerability can range from unauthorized access to sensitive information to the execution of arbitrary code in the context of the affected user's browser.

To fix the vulnerability, it is recommended to upgrade to YOURLS Admin Panel version 1.8 or later.

Related vulnerabilities

Recent vulnerabilities recorded for yourls/yourls.

How To Fix

Minimum fixed version

1.8

This is the first release that contains the fix.

composer require yourls/yourls:1.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback