CVE-2024-5802
WordPress vulnerability analysis and mitigation

Overview

The URL Shortener plugin by MyThemeShop version 1.0.17 and below contains a Stored Cross-Site Scripting (XSS) vulnerability. This security issue was publicly disclosed on June 18, 2024, and has been assigned the identifier CVE-2024-5802. The vulnerability affects the WordPress plugin's administrative interface (WPScan).

Technical details

The vulnerability stems from improper sanitization and escaping of certain plugin settings. Specifically, the plugin fails to properly sanitize and escape some of its settings, particularly in the Advanced section's "Anchor Text" functionality. The vulnerability has been assigned a CVSS score of 3.5 (Low) and is classified as CWE-79. This security issue falls under the OWASP Top 10 category A7: Cross-Site Scripting (XSS) (WPScan).

Impact

The vulnerability allows high-privilege users such as administrators to perform Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed. This could potentially lead to the execution of malicious JavaScript code in the context of other users' browsers who access the shortlinks page (WPScan).

Exploitability

A proof of concept exists demonstrating the vulnerability exploitation. The attack can be executed by navigating to the URL shortener add page (http://127.0.0.1/wordpress/wp-admin/admin.php?page=url_shortener_add), entering malicious JavaScript code in the "Anchor Text" input parameter under the Advanced section, and accessing the shortlinks page where the XSS payload is triggered (WPScan).

Mitigation and workarounds

Currently, there is no known fix available for this vulnerability. Users of the URL Shortener plugin by MyThemeShop should monitor for updates and consider implementing additional security controls or alternative solutions until a patch is released (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-19848MEDIUM6.5
  • wp-user-avatar
NoYesAug 21, 2026
CVE-2026-17559MEDIUM5.3
  • content-protector
NoYesAug 21, 2026
CVE-2026-16650MEDIUM5.3
  • charitable
NoYesAug 21, 2026
CVE-2026-15150MEDIUM5.3
  • mycred
NoYesAug 21, 2026
CVE-2026-18356LOW3.7
  • limit-login-attempts-reloaded
NoYesAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management