CVE-2024-2242: Contact Form 7 - Reflected XSS
- Cve: CVE-2024-2242
- Name: Contact Form 7 - Reflected XSS
- Description: The Contact Form 7 plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘active-tab’ parameter in all versions up to, and including, 5.9 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
- Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking or defacement.
- Remediation: Update to the latest version of Contact Form 7 that addresses this vulnerability.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim must click on a malicious link or perform an action that triggers the script.
- Labels source: projectdiscovery
- Severity: medium
- 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.013
- Epss percentile: 0.712
- Assignee: [email protected]
- Published at: 2024-03-13T22:15:12Z
- Age in days: 986
- Modified at: 2026-06-17T07:24:06Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-2242
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Hackerone
- Reports: 5
- Rank: 2666
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/RandomRobbieBF/CVE-2024-2242 | poc-in-github | 2024-11-15 |
References
| Url | Source | Tags |
|---|---|---|
| https://www.wordfence.com/threat-intel/vulnerabilities/id/d5bf4972-424a-4470-a0bc-7dcc95378e0e?source=cve | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rocklobster:contact_form_7 | < 5.9.2 | no | nvd | /v1/products/rocklobster/contact_form_7 |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-11-15
- Remote: yes
- Hackerone reports: 5
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts