← Vulnerability feed

Vulnerability record · CVE-2024-2242 · published 13 March 2024

CVE-2024-2242: Rocklobster contact form 7 cross-site scripting vulnerability

Rocklobster · Contact Form 7

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.

6.1 CVSS 3.1 Medium EPSS 1.3% · top 30.7% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score
1.3%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-2242 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2020-35489Contact Form 7 unrestricted file upload enables remote code executionContact Form 7 before 5.3.2 for WordPress permits unrestricted file uploads because a filename may contain special characters, allowing an uploaded f…EPSS 89%analysed9.8CVE-2018-20979Rocklobster contact form 7 vulnerabilityThe contact-form-7 plugin before 5.0.4 for WordPress has privilege escalation because of capability_type mishandling in register_post_type.EPSS 2.0%8.8CVE-2021-24159Rocklobster contact form 7 cross-site request forgery vulnerabilityDue to the lack of sanitization and lack of nonce protection on the custom CSS feature, an attacker could craft a request to inject malicious JavaScr…EPSS 0.59%7.2CVE-2023-6449Rocklobster contact form 7 unrestricted file upload vulnerabilityThe Contact Form 7 plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'validate' function a…EPSS 1.7%6.1CVE-2024-4704Rocklobster contact form 7 open redirect vulnerabilityThe Contact Form 7 WordPress plugin before 5.9.5 has an open redirect that allows an attacker to utilize a false URL and redirect to the URL of their…EPSS 0.45%5.3CVE-2025-3247Rocklobster contact form 7 vulnerabilityThe Contact Form 7 plugin for WordPress is vulnerable to Order Replay in all versions up to, and including, 6.0.5 via the 'wpcf7_stripe_skip_spam_che…EPSS 0.25%5.0CVE-2014-2265Rocklobster contact form 7 permissions and access controls vulnerabilityRock Lobster Contact Form 7 before 3.7.2 allows remote attackers to bypass the CAPTCHA protection mechanism and submit arbitrary form data by omittin…EPSS 3.1%4.3CVE-2023-6630Rocklobster contact form 7 insecure direct object reference vulnerabilityThe Contact Form 7 – Dynamic Text Extension plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and includi…EPSS 0.35%

Source: NIST National Vulnerability Database (record CVE-2024-2242), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.