.. / CVE-2021-24979

Exploit for Paid Memberships Pro < 2.6.6 - Cross-Site Scripting (CVE-2021-24979)

Description:

The Paid Memberships Pro WordPress plugin before 2.6.6 does not escape the s parameter before outputting it back in an attribute in an admin page, leading to a Reflected Cross-Site Scripting

Nuclei Template

View the template here CVE-2021-24979.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2021/CVE-2021-24979.yaml
Copy

References:

https://wpscan.com/vulnerability/fc011990-4ec1-4553-901d-4ff1f482cb79
https://plugins.trac.wordpress.org/changeset/2632369/paid-memberships-pro/tags/2.6.6/adminpages/discountcodes.php
https://nvd.nist.gov/vuln/detail/CVE-2021-24979