CVE-2021-24979
WordPress vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-24979 is a Reflected Cross-Site Scripting (XSS) issue affecting the Paid Memberships Pro WordPress plugin versions 2.6.5 and below. The vulnerability was discovered by ZhongFu Su (JrXnm) from Wuhan University and was publicly disclosed on November 23, 2021 (WPScan).

Technical details

The vulnerability exists because the plugin fails to properly escape the 's' parameter before outputting it back in an attribute in an admin page. This security flaw has been assigned a CVSS score of 8.8 (high severity) and is classified under CWE-79. The vulnerability specifically affects the discount codes administration page of the plugin (WPScan).

Impact

When exploited, this vulnerability could allow attackers to execute arbitrary JavaScript code in the context of the admin user's browser session. This could potentially lead to unauthorized actions being performed on behalf of the administrator or the theft of sensitive information (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 2.6.6 of the Paid Memberships Pro plugin. Users are strongly advised to update to this version or later to mitigate the risk. The fix involves proper escaping of the 's' parameter in the discount codes administration page (WordPress Trac).

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-2025-9873MEDIUM6.4
  • a3-lazy-load
NoYesDec 13, 2025
CVE-2025-9856MEDIUM6.4
  • popup-builder
NoYesDec 13, 2025
CVE-2025-9488MEDIUM6.4
  • redux-framework
NoYesDec 13, 2025
CVE-2025-9207MEDIUM5.3
  • ti-woocommerce-wishlist
NoYesDec 13, 2025
CVE-2025-9218LOW3.7
  • buddypress-media
NoYesDec 13, 2025

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