All vulnerabilities

Servers and applications · WordPress plugins

CVE-2024-2242

Contact Form 7: Cross-site Scripting

Severity
Medium 6.1
Published
13 Mar 2024
Last changed
17 Jun 2026
Added to UpHeron
17 Oct 2026
Fixed in
5.9.2
Also known as
WPV-f22936326313
Sources
NVD, WPVulnerability

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…

Affected software

SoftwareAffected versions
Contact Form 7Servers and applications · cpe:a:rocklobster:contact_form_7
  • Every version before 5.9.2
Contact Form 7WordPress plugins · wp-plugin:contact-form-7
  • Every version before 5.9.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-2242
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-2242
  • Wordfence https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/contact-form-7/contact-form-7-59-reflected-cross-site-scripting