CVE-2024-13785: CWE-94 Improper Control of Generation of Code ('Code Injection') in reputeinfosystems Contact Form, Survey, Quiz & Popup Form Builder – ARForms
The The Contact Form, Survey, Quiz & Popup Form Builder – ARForms plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.7.2. 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 unauthenticated attackers to execute arbitrary shortcodes.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2024-13785 affects the Contact Form, Survey, Quiz & Popup Form Builder – ARForms plugin for WordPress, developed by reputeinfosystems. This flaw arises from improper control over the generation of code (CWE-94), specifically due to the plugin executing user-supplied shortcodes without adequate validation before invoking WordPress's do_shortcode function. Shortcodes in WordPress are snippets that execute code or render content dynamically, and improper handling can lead to code injection. The vulnerability exists in all plugin versions up to 1.7.2, allowing unauthenticated attackers to submit crafted input that triggers arbitrary shortcode execution. This can lead to unauthorized actions within the WordPress environment, potentially enabling attackers to manipulate site content, execute malicious scripts, or perform other unauthorized operations depending on the shortcode capabilities. The CVSS 3.1 base score is 5.6 (medium), reflecting network attack vector, high attack complexity, no privileges required, no user interaction, and limited impacts on confidentiality, integrity, and availability. No patches or exploit code are currently publicly available, but the flaw represents a significant risk for WordPress sites using this plugin, especially those exposed to untrusted users or the public internet.
Potential Impact
The impact of this vulnerability can vary depending on the shortcodes executed by an attacker. Potential consequences include unauthorized content manipulation, injection of malicious scripts, defacement, or limited disruption of site functionality. While the CVSS score indicates limited confidentiality, integrity, and availability impacts, the ability to execute arbitrary shortcodes without authentication can serve as a foothold for further attacks or privilege escalation within the WordPress environment. Organizations running websites with this plugin may face reputational damage, data integrity issues, or service disruptions if exploited. The medium severity rating and high attack complexity suggest that exploitation is not trivial but feasible, especially for attackers with knowledge of WordPress shortcode mechanics. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, particularly as attackers often develop exploits after public disclosure.
Mitigation Recommendations
Until an official patch is released, organizations should implement the following mitigations: 1) Restrict or disable shortcode execution from untrusted or unauthenticated sources by modifying plugin or WordPress configurations. 2) Employ web application firewalls (WAFs) with rules to detect and block suspicious shortcode payloads or unusual POST requests targeting the plugin endpoints. 3) Monitor logs for anomalous shortcode usage or unexpected form submissions. 4) Limit exposure of the affected plugin’s functionality to authenticated users only, if possible. 5) Keep WordPress core and all plugins updated to the latest versions to reduce attack surface. 6) Review and harden user input validation and sanitization mechanisms within the site. 7) Once a patch is available from the vendor, apply it promptly. 8) Conduct security audits and penetration testing focused on shortcode injection vectors. These steps go beyond generic advice by focusing on shortcode-specific controls and monitoring tailored to this vulnerability’s nature.
Affected Countries
United States, India, Brazil, Germany, United Kingdom, Canada, Australia, France, Japan, Netherlands, Italy, Spain
CVE-2024-13785: CWE-94 Improper Control of Generation of Code ('Code Injection') in reputeinfosystems Contact Form, Survey, Quiz & Popup Form Builder – ARForms
Description
The The Contact Form, Survey, Quiz & Popup Form Builder – ARForms plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.7.2. 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 unauthenticated attackers to execute arbitrary shortcodes.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2024-13785 affects the Contact Form, Survey, Quiz & Popup Form Builder – ARForms plugin for WordPress, developed by reputeinfosystems. This flaw arises from improper control over the generation of code (CWE-94), specifically due to the plugin executing user-supplied shortcodes without adequate validation before invoking WordPress's do_shortcode function. Shortcodes in WordPress are snippets that execute code or render content dynamically, and improper handling can lead to code injection. The vulnerability exists in all plugin versions up to 1.7.2, allowing unauthenticated attackers to submit crafted input that triggers arbitrary shortcode execution. This can lead to unauthorized actions within the WordPress environment, potentially enabling attackers to manipulate site content, execute malicious scripts, or perform other unauthorized operations depending on the shortcode capabilities. The CVSS 3.1 base score is 5.6 (medium), reflecting network attack vector, high attack complexity, no privileges required, no user interaction, and limited impacts on confidentiality, integrity, and availability. No patches or exploit code are currently publicly available, but the flaw represents a significant risk for WordPress sites using this plugin, especially those exposed to untrusted users or the public internet.
Potential Impact
The impact of this vulnerability can vary depending on the shortcodes executed by an attacker. Potential consequences include unauthorized content manipulation, injection of malicious scripts, defacement, or limited disruption of site functionality. While the CVSS score indicates limited confidentiality, integrity, and availability impacts, the ability to execute arbitrary shortcodes without authentication can serve as a foothold for further attacks or privilege escalation within the WordPress environment. Organizations running websites with this plugin may face reputational damage, data integrity issues, or service disruptions if exploited. The medium severity rating and high attack complexity suggest that exploitation is not trivial but feasible, especially for attackers with knowledge of WordPress shortcode mechanics. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, particularly as attackers often develop exploits after public disclosure.
Mitigation Recommendations
Until an official patch is released, organizations should implement the following mitigations: 1) Restrict or disable shortcode execution from untrusted or unauthenticated sources by modifying plugin or WordPress configurations. 2) Employ web application firewalls (WAFs) with rules to detect and block suspicious shortcode payloads or unusual POST requests targeting the plugin endpoints. 3) Monitor logs for anomalous shortcode usage or unexpected form submissions. 4) Limit exposure of the affected plugin’s functionality to authenticated users only, if possible. 5) Keep WordPress core and all plugins updated to the latest versions to reduce attack surface. 6) Review and harden user input validation and sanitization mechanisms within the site. 7) Once a patch is available from the vendor, apply it promptly. 8) Conduct security audits and penetration testing focused on shortcode injection vectors. These steps go beyond generic advice by focusing on shortcode-specific controls and monitoring tailored to this vulnerability’s nature.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-01-28T20:47:46.970Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69be1806f4197a8e3b783b88
Added to database: 3/21/2026, 4:01:10 AM
Last enriched: 3/21/2026, 5:02:29 AM
Last updated: 3/22/2026, 7:49:06 AM
Views: 6
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.