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).

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-15239NONEN/A
  • simple-cloudflare-turnstile
NoYesAug 07, 2026
CVE-2026-15211NONEN/A
  • subscriptions-for-woocommerce
NoYesAug 07, 2026
CVE-2026-15148NONEN/A
  • wp-events-manager
NoYesAug 07, 2026
CVE-2026-16265NONEN/A
  • wp-google-map-plugin
NoYesAug 07, 2026
CVE-2026-16263NONEN/A
  • wp-google-map-plugin
NoYesAug 07, 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