Skip to content
OpenAdvisories
Medium · 6.1 Public exploit CVE-2024-2242 EUVD-2024-27198GHSA-4844-58hp-rqwx

Contact Form 7 <= 5.9 - Reflected Cross-Site Scripting

Published Mar 13, 2024 · Updated Apr 8, 2026 · Assigned by Wordfence

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.

Affected products

VendorProductAffectedFixed
rocklobsterinc Contact Form 7 ≤ 5.9 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References