CVE-2024-4261: CWE-94 Improper Control of Generation of Code ('Code Injection') in themehunk Lead Form Builder & Contact Form
The Responsive Contact Form Builder & Lead Generation Plugin plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.9.1. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for authenticated attackers, with subscriber-level access and above, to execute arbitrary shortcodes.
AI Analysis
Technical Summary
The Responsive Contact Form Builder & Lead Generation Plugin for WordPress (themehunk Lead Form Builder & Contact Form) versions up to 1.9.1 contain a code injection vulnerability (CWE-94) due to improper validation of input before executing do_shortcode. Authenticated attackers with subscriber-level privileges can exploit this to run arbitrary shortcodes, potentially leading to unauthorized code execution within the WordPress site context. The vulnerability has a CVSS 3.1 base score of 5.4 (medium severity), with network attack vector, low attack complexity, and privileges required at the subscriber level.
Potential Impact
Successful exploitation allows an authenticated user with subscriber-level access or higher to execute arbitrary shortcodes, which may lead to unauthorized code execution or manipulation of site content. The impact is limited to confidentiality and integrity with no direct availability impact. This could enable attackers to perform actions beyond their intended permissions within the WordPress site.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict subscriber-level user capabilities where possible and monitor for suspicious shortcode usage. Avoid granting unnecessary privileges to users. Follow updates from themehunk for an official patch or temporary workaround.
CVE-2024-4261: CWE-94 Improper Control of Generation of Code ('Code Injection') in themehunk Lead Form Builder & Contact Form
Description
The Responsive Contact Form Builder & Lead Generation Plugin plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.9.1. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for authenticated attackers, with subscriber-level access and above, to execute arbitrary shortcodes.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Responsive Contact Form Builder & Lead Generation Plugin for WordPress (themehunk Lead Form Builder & Contact Form) versions up to 1.9.1 contain a code injection vulnerability (CWE-94) due to improper validation of input before executing do_shortcode. Authenticated attackers with subscriber-level privileges can exploit this to run arbitrary shortcodes, potentially leading to unauthorized code execution within the WordPress site context. The vulnerability has a CVSS 3.1 base score of 5.4 (medium severity), with network attack vector, low attack complexity, and privileges required at the subscriber level.
Potential Impact
Successful exploitation allows an authenticated user with subscriber-level access or higher to execute arbitrary shortcodes, which may lead to unauthorized code execution or manipulation of site content. The impact is limited to confidentiality and integrity with no direct availability impact. This could enable attackers to perform actions beyond their intended permissions within the WordPress site.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict subscriber-level user capabilities where possible and monitor for suspicious shortcode usage. Avoid granting unnecessary privileges to users. Follow updates from themehunk for an official patch or temporary workaround.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-04-26T15:46:46.247Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b84b7ef31ef0b556317
Added to database: 2/25/2026, 9:37:08 PM
Last enriched: 4/9/2026, 2:29:09 PM
Last updated: 4/12/2026, 1:38:14 PM
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.