CVE-2024-2242: The Contact Form 7 plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘active-tab’ p
CVE-2024-2242 is a medium-severity flaw (CVSS 6.1) affecting contact form 7. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.3% (top 30%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-03-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-2242?
contact form 7: upgrade to 5.9.2. Exact commands for each OS are on this page.
Is CVE-2024-2242 being exploited?
CVE-2024-2242 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-2242 affect?
CVE-2024-2242 affects contact form 7. Severity is medium (CVSS 6.1). 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 possi
How urgent is CVE-2024-2242?
Priority 39/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2025-3247 MEDIUM 5.3 UPGRADE The Contact Form 7 plugin for WordPress is vulnerable to Order Replay in all versions up to, and including, 6.
- CVE-2025-14457 LOW 3.7 UPGRADE The Drag and Drop Multiple File Upload for Contact Form 7 plugin for WordPress is vulnerable to unauthorized m
- CVE-2024-4704 MEDIUM 6.1 UPGRADE The Contact Form 7 WordPress plugin before 5.9.5 has an open redirect that allows an attacker to utilize a fal
- CVE-2023-6630 MEDIUM 4.3 UPGRADE The Contact Form 7 – Dynamic Text Extension plugin for WordPress is vulnerable to Insecure Direct Object Refer