CVE-2025-6744: CWE-94 Improper Control of Generation of Code ('Code Injection') in xTemos Woodmart
The The Woodmart theme for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 8.2.3. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode through the woodmart_get_products_shortcode() function. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
AI Analysis
Technical Summary
CVE-2025-6744 is a code injection vulnerability classified under CWE-94 found in the Woodmart WordPress theme developed by xTemos. The vulnerability exists because the function woodmart_get_products_shortcode() improperly validates input before passing it to WordPress's do_shortcode function, which executes shortcodes. Shortcodes in WordPress are snippets that can execute PHP code or perform actions within posts or pages. Due to insufficient input validation, an unauthenticated attacker can craft a request that triggers arbitrary shortcode execution, effectively allowing remote code execution within the context of the WordPress site. This flaw affects all versions of Woodmart up to and including 8.2.3. The vulnerability has a CVSS v3.1 score of 7.3, indicating high severity, with an attack vector of network (AV:N), low attack complexity (AC:L), no privileges required (PR:N), and no user interaction needed (UI:N). The impact includes potential unauthorized disclosure of information (confidentiality), unauthorized modification of data or site content (integrity), and disruption or degradation of service (availability). Although no public exploits have been reported yet, the vulnerability's characteristics make it a prime target for attackers seeking to compromise WordPress sites using this theme. The lack of a patch link suggests that a fix may not yet be publicly available, increasing urgency for mitigation.
Potential Impact
The vulnerability enables unauthenticated remote attackers to execute arbitrary shortcodes, which can lead to remote code execution or unauthorized actions within the WordPress environment. This compromises the confidentiality of sensitive data stored or processed by the site, including user information and business data. Integrity is at risk as attackers can modify site content, inject malicious code, or alter configurations. Availability may be impacted if attackers disrupt site functionality or cause denial of service through malicious shortcode execution. Organizations using Woodmart for e-commerce or content delivery face risks of data breaches, defacement, or service outages. The broad impact on confidentiality, integrity, and availability combined with ease of exploitation and no authentication requirement makes this a critical threat to WordPress sites globally. Attackers could leverage this vulnerability to establish persistent footholds, pivot within networks, or launch further attacks against site visitors or backend systems.
Mitigation Recommendations
Immediate mitigation should include disabling or restricting the use of shortcodes in user inputs or untrusted contexts within the Woodmart theme. Site administrators can implement Web Application Firewall (WAF) rules to detect and block suspicious shortcode patterns or requests targeting the vulnerable function. Until an official patch is released by xTemos, consider temporarily switching to a different theme or removing Woodmart to eliminate exposure. Regularly monitor site logs for unusual shortcode execution attempts or unexpected behavior. Employ principle of least privilege by limiting permissions of WordPress users and plugins to reduce potential damage. Keep WordPress core, plugins, and themes updated to minimize attack surface. Engage with the vendor for timely patch updates and apply them as soon as available. Conduct security audits and penetration testing focused on shortcode handling and input validation to identify residual risks.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, India, Brazil, Japan, Netherlands, Italy, Spain
CVE-2025-6744: CWE-94 Improper Control of Generation of Code ('Code Injection') in xTemos Woodmart
Description
The The Woodmart theme for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 8.2.3. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode through the woodmart_get_products_shortcode() function. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-6744 is a code injection vulnerability classified under CWE-94 found in the Woodmart WordPress theme developed by xTemos. The vulnerability exists because the function woodmart_get_products_shortcode() improperly validates input before passing it to WordPress's do_shortcode function, which executes shortcodes. Shortcodes in WordPress are snippets that can execute PHP code or perform actions within posts or pages. Due to insufficient input validation, an unauthenticated attacker can craft a request that triggers arbitrary shortcode execution, effectively allowing remote code execution within the context of the WordPress site. This flaw affects all versions of Woodmart up to and including 8.2.3. The vulnerability has a CVSS v3.1 score of 7.3, indicating high severity, with an attack vector of network (AV:N), low attack complexity (AC:L), no privileges required (PR:N), and no user interaction needed (UI:N). The impact includes potential unauthorized disclosure of information (confidentiality), unauthorized modification of data or site content (integrity), and disruption or degradation of service (availability). Although no public exploits have been reported yet, the vulnerability's characteristics make it a prime target for attackers seeking to compromise WordPress sites using this theme. The lack of a patch link suggests that a fix may not yet be publicly available, increasing urgency for mitigation.
Potential Impact
The vulnerability enables unauthenticated remote attackers to execute arbitrary shortcodes, which can lead to remote code execution or unauthorized actions within the WordPress environment. This compromises the confidentiality of sensitive data stored or processed by the site, including user information and business data. Integrity is at risk as attackers can modify site content, inject malicious code, or alter configurations. Availability may be impacted if attackers disrupt site functionality or cause denial of service through malicious shortcode execution. Organizations using Woodmart for e-commerce or content delivery face risks of data breaches, defacement, or service outages. The broad impact on confidentiality, integrity, and availability combined with ease of exploitation and no authentication requirement makes this a critical threat to WordPress sites globally. Attackers could leverage this vulnerability to establish persistent footholds, pivot within networks, or launch further attacks against site visitors or backend systems.
Mitigation Recommendations
Immediate mitigation should include disabling or restricting the use of shortcodes in user inputs or untrusted contexts within the Woodmart theme. Site administrators can implement Web Application Firewall (WAF) rules to detect and block suspicious shortcode patterns or requests targeting the vulnerable function. Until an official patch is released by xTemos, consider temporarily switching to a different theme or removing Woodmart to eliminate exposure. Regularly monitor site logs for unusual shortcode execution attempts or unexpected behavior. Employ principle of least privilege by limiting permissions of WordPress users and plugins to reduce potential damage. Keep WordPress core, plugins, and themes updated to minimize attack surface. Engage with the vendor for timely patch updates and apply them as soon as available. Conduct security audits and penetration testing focused on shortcode handling and input validation to identify residual risks.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-06-26T18:09:26.679Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 686ce78b6f40f0eb72f2e6c6
Added to database: 7/8/2025, 9:40:27 AM
Last enriched: 2/26/2026, 3:48:51 PM
Last updated: 3/24/2026, 4:23:54 AM
Views: 214
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.