.. / CVE-2021-24239

Exploit for WordPress Pie Register <3.7.0.1 - Cross-Site Scripting (CVE-2021-24239)

Description:

WordPress Pie Register plugin before 3.7.0.1 is susceptible to cross-site scripting. The plugin does not sanitize the invitaion_code GET parameter when outputting it in the Activation Code page. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site, which can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

Nuclei Template

View the template here CVE-2021-24239.yaml

Validate with Nuclei

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

References:

https://plugins.trac.wordpress.org/changeset/2507536/
https://wpscan.com/vulnerability/f1b67f40-642f-451e-a67a-b7487918ee34
https://nvd.nist.gov/vuln/detail/CVE-2021-24239