{"id":"CVE-2024-2242","aliases":["EUVD-2024-27198","GHSA-4844-58hp-rqwx"],"status":"published","title":"Contact Form 7 \u003c= 5.9 - Reflected Cross-Site Scripting","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.013,"percentile":0.70654,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-79"],"published":"2024-03-13T21:32:56Z","modified":"2026-10-28T02:31:04Z","exploits":[{"source":"pocgithub","id":"RandomRobbieBF/CVE-2024-2242","title":"RandomRobbieBF/CVE-2024-2242","date":"2024-11-15","url":"https://github.com/RandomRobbieBF/CVE-2024-2242"}],"products":[{"vendor":"rocklobster","product":"contact_form_7"},{"vendor":"rocklobsterinc","product":"contact form 7"},{"vendor":"takayukister","product":"contact form 7"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/d5bf4972-424a-4470-a0bc-7dcc95378e0e?source=cve","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://plugins.trac.wordpress.org/changeset/3049594/contact-form-7/trunk/admin/edit-contact-form.php","tags":["x_transferred","Broken Link","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2242","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4844-58hp-rqwx"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2242.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-2242","title":"Contact Form 7 \u003c= 5.9 - Reflected Cross-Site Scripting","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.","status":"published","published":"2024-03-13T21:32:56.042Z","modified":"2026-04-08T17:26:12.076Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:09.897248Z"}],"euvd":[{"id":"EUVD-2024-27198","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.","status":"published","published":"2024-03-13T21:32:56Z","modified":"2026-04-08T17:26:12Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:24:38.757345Z"}],"ghsa":[{"id":"GHSA-4844-58hp-rqwx","title":"The Contact Form 7 plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ...","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.","status":"published","published":"2024-03-14T00:31:06Z","modified":"2025-01-17T21:31:38Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:59:35.754921Z"}],"nvd":[{"id":"CVE-2024-2242","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.","status":"published","published":"2024-03-13T22:15:12.173Z","modified":"2026-06-17T07:24:06.843Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:09:40.831473Z"}],"osv":[{"id":"CVE-2024-2242","title":"Contact Form 7 \u003c= 5.9 - Reflected Cross-Site Scripting","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.","status":"published","published":"2024-03-13T21:32:56.042Z","modified":"2026-10-28T02:31:04.416948534Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:38.577405Z"}]}}
