CVE-2021-24180
WordPress vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2021-24180) affects the Related Posts for WordPress plugin versions before 2.0.4. It is a Reflected Cross-Site Scripting (XSS) vulnerability discovered on March 15, 2021, that stems from unvalidated input and lack of output encoding within the plugin (WPScan).

Technical details

The vulnerability exists within the 'lang' GET parameter while editing a post in WordPress admin panel. The issue occurs due to improper validation and output encoding in the file classes/meta-boxes/class-meta-box-manage.php at line 69. The vulnerability has a CVSS score of 5.4 (Medium) and is classified as CWE-79 (WPScan).

Impact

When exploited, this vulnerability allows attackers to execute malicious JavaScript code in the context of authenticated users' browsers who have the capability to edit posts. This could potentially lead to unauthorized actions or data theft within the WordPress admin panel (WPScan).

Exploitability

The vulnerability can be triggered when users with post editing capabilities access a specially crafted malicious URL. A proof of concept exploit involves accessing the URL: /wp-admin/post.php?post=1&action=edit&lang='><alert(/XSS/) (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in version 2.0.4 of the Related Posts for WordPress plugin. Users are advised to update to this version or later to mitigate the risk (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-78570CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78568CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78572HIGH8.1
  • kalles-addons
NoNoAug 25, 2026
CVE-2026-78576HIGH7.5
  • readabler
NoYesAug 25, 2026
CVE-2026-76128MEDIUM6.4
  • ecommerce-product-catalog
NoYesAug 25, 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