CVE-2024-12333: CWE-94 Improper Control of Generation of Code ('Code Injection') in xTemos Woodmart
CVE-2024-12333 is a medium severity vulnerability in the Woodmart WordPress theme up to version 8. 0. 3 that allows unauthenticated attackers to execute arbitrary shortcodes via the woodmart_instagram_ajax_query AJAX action. This occurs because the theme does not properly validate input before passing it to the do_shortcode function, leading to code injection (CWE-94). Exploitation requires no authentication or user interaction and can result in limited confidentiality and integrity impacts but does not affect availability. Although no known exploits are currently reported in the wild, the vulnerability poses a risk to websites using the Woodmart theme, which is popular among WordPress users. Organizations running WordPress sites with this theme should prioritize patching or applying mitigations to prevent potential shortcode injection attacks. Countries with large WordPress user bases and e-commerce activity are most at risk. The CVSS score is 6. 5, reflecting medium severity due to ease of exploitation but limited impact scope.
AI Analysis
Technical Summary
CVE-2024-12333 is a vulnerability classified under CWE-94 (Improper Control of Generation of Code) affecting the Woodmart theme for WordPress, developed by xTemos. The flaw exists in all versions up to and including 8.0.3 and allows unauthenticated attackers to execute arbitrary shortcodes through the woodmart_instagram_ajax_query AJAX action. The root cause is insufficient validation of user-supplied input before it is passed to WordPress's do_shortcode function, which processes shortcode strings and executes embedded code. Because the AJAX action is accessible without authentication and does not require user interaction, an attacker can remotely trigger shortcode execution, potentially injecting malicious code or commands. The vulnerability impacts confidentiality and integrity by enabling unauthorized code execution within the WordPress environment, but it does not directly affect system availability. No patches or official fixes are currently linked, and no exploits have been observed in the wild as of the publication date. The CVSS v3.1 score of 6.5 reflects the vulnerability's network attack vector, low attack complexity, no privileges required, and no user interaction needed, with limited confidentiality and integrity impacts and no availability impact. This vulnerability is significant for websites using the Woodmart theme, especially those that rely on Instagram AJAX queries, as it could be leveraged to compromise site content or inject malicious payloads.
Potential Impact
The primary impact of CVE-2024-12333 is unauthorized code execution within WordPress sites using the Woodmart theme, which can lead to confidentiality breaches such as data leakage or exposure of sensitive site information. Integrity may be compromised by attackers injecting malicious shortcodes that alter site content, deface pages, or insert backdoors for persistent access. Although availability is not directly affected, secondary impacts such as site reputation damage or indirect denial of service through malicious content could occur. For organizations, this vulnerability threatens the security of their web presence, potentially undermining customer trust and exposing them to further attacks like phishing or malware distribution. The ease of exploitation without authentication increases the risk of widespread automated attacks, especially against unpatched sites. E-commerce platforms, blogs, and corporate websites using Woodmart are particularly vulnerable, potentially affecting business operations and customer data privacy.
Mitigation Recommendations
Organizations should immediately verify if their WordPress installations use the Woodmart theme, specifically versions up to 8.0.3. Since no official patch is currently linked, administrators should consider the following mitigations: 1) Temporarily disable or restrict access to the woodmart_instagram_ajax_query AJAX action via web application firewall (WAF) rules or server-level access controls to block unauthenticated requests. 2) Implement input validation and sanitization at the application or plugin level to prevent untrusted input from reaching do_shortcode. 3) Monitor web server and WordPress logs for suspicious AJAX requests targeting the vulnerable endpoint. 4) Limit shortcode usage and review all active shortcodes for potential abuse. 5) Keep WordPress core, themes, and plugins updated and subscribe to vendor security advisories for prompt patching once available. 6) Employ security plugins that detect and block code injection attempts. 7) Conduct regular security audits and penetration testing focused on shortcode and AJAX endpoint vulnerabilities. These steps will reduce the attack surface and mitigate exploitation risk until an official patch is released.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, France, India, Brazil, Netherlands, Japan, Italy, Spain
CVE-2024-12333: CWE-94 Improper Control of Generation of Code ('Code Injection') in xTemos Woodmart
Description
CVE-2024-12333 is a medium severity vulnerability in the Woodmart WordPress theme up to version 8. 0. 3 that allows unauthenticated attackers to execute arbitrary shortcodes via the woodmart_instagram_ajax_query AJAX action. This occurs because the theme does not properly validate input before passing it to the do_shortcode function, leading to code injection (CWE-94). Exploitation requires no authentication or user interaction and can result in limited confidentiality and integrity impacts but does not affect availability. Although no known exploits are currently reported in the wild, the vulnerability poses a risk to websites using the Woodmart theme, which is popular among WordPress users. Organizations running WordPress sites with this theme should prioritize patching or applying mitigations to prevent potential shortcode injection attacks. Countries with large WordPress user bases and e-commerce activity are most at risk. The CVSS score is 6. 5, reflecting medium severity due to ease of exploitation but limited impact scope.
AI-Powered Analysis
Technical Analysis
CVE-2024-12333 is a vulnerability classified under CWE-94 (Improper Control of Generation of Code) affecting the Woodmart theme for WordPress, developed by xTemos. The flaw exists in all versions up to and including 8.0.3 and allows unauthenticated attackers to execute arbitrary shortcodes through the woodmart_instagram_ajax_query AJAX action. The root cause is insufficient validation of user-supplied input before it is passed to WordPress's do_shortcode function, which processes shortcode strings and executes embedded code. Because the AJAX action is accessible without authentication and does not require user interaction, an attacker can remotely trigger shortcode execution, potentially injecting malicious code or commands. The vulnerability impacts confidentiality and integrity by enabling unauthorized code execution within the WordPress environment, but it does not directly affect system availability. No patches or official fixes are currently linked, and no exploits have been observed in the wild as of the publication date. The CVSS v3.1 score of 6.5 reflects the vulnerability's network attack vector, low attack complexity, no privileges required, and no user interaction needed, with limited confidentiality and integrity impacts and no availability impact. This vulnerability is significant for websites using the Woodmart theme, especially those that rely on Instagram AJAX queries, as it could be leveraged to compromise site content or inject malicious payloads.
Potential Impact
The primary impact of CVE-2024-12333 is unauthorized code execution within WordPress sites using the Woodmart theme, which can lead to confidentiality breaches such as data leakage or exposure of sensitive site information. Integrity may be compromised by attackers injecting malicious shortcodes that alter site content, deface pages, or insert backdoors for persistent access. Although availability is not directly affected, secondary impacts such as site reputation damage or indirect denial of service through malicious content could occur. For organizations, this vulnerability threatens the security of their web presence, potentially undermining customer trust and exposing them to further attacks like phishing or malware distribution. The ease of exploitation without authentication increases the risk of widespread automated attacks, especially against unpatched sites. E-commerce platforms, blogs, and corporate websites using Woodmart are particularly vulnerable, potentially affecting business operations and customer data privacy.
Mitigation Recommendations
Organizations should immediately verify if their WordPress installations use the Woodmart theme, specifically versions up to 8.0.3. Since no official patch is currently linked, administrators should consider the following mitigations: 1) Temporarily disable or restrict access to the woodmart_instagram_ajax_query AJAX action via web application firewall (WAF) rules or server-level access controls to block unauthenticated requests. 2) Implement input validation and sanitization at the application or plugin level to prevent untrusted input from reaching do_shortcode. 3) Monitor web server and WordPress logs for suspicious AJAX requests targeting the vulnerable endpoint. 4) Limit shortcode usage and review all active shortcodes for potential abuse. 5) Keep WordPress core, themes, and plugins updated and subscribe to vendor security advisories for prompt patching once available. 6) Employ security plugins that detect and block code injection attempts. 7) Conduct regular security audits and penetration testing focused on shortcode and AJAX endpoint vulnerabilities. These steps will reduce the attack surface and mitigate exploitation risk until an official patch is released.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-12-06T22:28:54.364Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e37b7ef31ef0b597f00
Added to database: 2/25/2026, 9:48:39 PM
Last enriched: 2/26/2026, 5:15:59 AM
Last updated: 2/26/2026, 7:24:32 AM
Views: 1
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.
Related Threats
CVE-2026-25191: Uncontrolled Search Path Element in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-23703: Incorrect default permissions in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-1311: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bearsthemes Worry Proof Backup
HighFinding Signal in the Noise: Lessons Learned Running a Honeypot with AI Assistance [Guest Diary], (Tue, Feb 24th)
MediumCVE-2026-2506: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in motahar1 EM Cost Calculator
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.