CVE-2025-13773: CWE-94 Improper Control of Generation of Code ('Code Injection') in tychesoftwares Print Invoice & Delivery Notes for WooCommerce
The Print Invoice & Delivery Notes for WooCommerce plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 5.8.0 via the 'WooCommerce_Delivery_Notes::update' function. This is due to missing capability check in the 'WooCommerce_Delivery_Notes::update' function, PHP enabled in Dompdf, and missing escape in the 'template.php' file. This makes it possible for unauthenticated attackers to execute code on the server.
AI Analysis
Technical Summary
CVE-2025-13773 is a critical remote code execution (RCE) vulnerability found in the Print Invoice & Delivery Notes for WooCommerce plugin for WordPress, affecting all versions up to and including 5.8.0. The vulnerability stems from a combination of insecure coding practices: the 'WooCommerce_Delivery_Notes::update' function lacks proper capability checks, allowing unauthorized access; PHP execution is enabled within the Dompdf library used by the plugin, which can be leveraged to execute arbitrary PHP code; and the 'template.php' file fails to properly escape user input, facilitating code injection. These factors collectively enable unauthenticated attackers to execute arbitrary code on the web server hosting the vulnerable plugin. The vulnerability is classified under CWE-94 (Improper Control of Generation of Code), indicating that the plugin improperly handles code generation or execution. The CVSS v3.1 base score is 9.8, reflecting a critical severity with network attack vector, no required privileges, no user interaction, and full impact on confidentiality, integrity, and availability. Although no known exploits have been reported in the wild yet, the ease of exploitation and the critical impact make this a high-priority threat. The vulnerability affects a widely used e-commerce plugin integrated into WordPress sites, which are prevalent globally, including Europe. Attackers exploiting this flaw could gain full control over the affected server, potentially leading to data theft, site defacement, malware deployment, or pivoting to internal networks.
Potential Impact
For European organizations, especially those operating e-commerce platforms using WooCommerce with the vulnerable Print Invoice & Delivery Notes plugin, this vulnerability presents a severe risk. Successful exploitation can lead to complete server compromise, resulting in loss of customer data confidentiality, unauthorized modification or deletion of data, and disruption of business operations. The ability for unauthenticated attackers to execute arbitrary code increases the likelihood of widespread exploitation, potentially leading to ransomware deployment, data breaches, or use of compromised servers in botnets. Given the critical nature of e-commerce in Europe and the reliance on WordPress-based solutions, the impact could extend to reputational damage, regulatory penalties under GDPR for data breaches, and financial losses. The vulnerability also threatens the integrity of invoicing and delivery note processes, which are essential for compliance and operational workflows in European businesses.
Mitigation Recommendations
1. Immediate action should be to update the Print Invoice & Delivery Notes for WooCommerce plugin to a patched version once available. If no patch is currently released, disable or uninstall the plugin to prevent exploitation. 2. Implement strict access controls on WordPress admin endpoints and restrict update functions to authenticated and authorized users only. 3. Employ Web Application Firewalls (WAFs) with custom rules to detect and block attempts to exploit this vulnerability, focusing on requests targeting the vulnerable update function. 4. Conduct thorough code reviews and security audits of custom or third-party plugins to identify similar insecure coding patterns, especially around code generation and execution. 5. Monitor server logs and WordPress activity logs for unusual or unauthorized access attempts, particularly targeting the plugin’s update functionality. 6. Harden PHP configurations by disabling execution in directories used by Dompdf or other libraries where not necessary. 7. Educate development and operations teams about secure coding practices related to input validation, escaping, and capability checks to prevent CWE-94 type vulnerabilities in the future.
Affected Countries
United Kingdom, Germany, France, Netherlands, Italy, Spain, Poland, Sweden
CVE-2025-13773: CWE-94 Improper Control of Generation of Code ('Code Injection') in tychesoftwares Print Invoice & Delivery Notes for WooCommerce
Description
The Print Invoice & Delivery Notes for WooCommerce plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 5.8.0 via the 'WooCommerce_Delivery_Notes::update' function. This is due to missing capability check in the 'WooCommerce_Delivery_Notes::update' function, PHP enabled in Dompdf, and missing escape in the 'template.php' file. This makes it possible for unauthenticated attackers to execute code on the server.
AI-Powered Analysis
Technical Analysis
CVE-2025-13773 is a critical remote code execution (RCE) vulnerability found in the Print Invoice & Delivery Notes for WooCommerce plugin for WordPress, affecting all versions up to and including 5.8.0. The vulnerability stems from a combination of insecure coding practices: the 'WooCommerce_Delivery_Notes::update' function lacks proper capability checks, allowing unauthorized access; PHP execution is enabled within the Dompdf library used by the plugin, which can be leveraged to execute arbitrary PHP code; and the 'template.php' file fails to properly escape user input, facilitating code injection. These factors collectively enable unauthenticated attackers to execute arbitrary code on the web server hosting the vulnerable plugin. The vulnerability is classified under CWE-94 (Improper Control of Generation of Code), indicating that the plugin improperly handles code generation or execution. The CVSS v3.1 base score is 9.8, reflecting a critical severity with network attack vector, no required privileges, no user interaction, and full impact on confidentiality, integrity, and availability. Although no known exploits have been reported in the wild yet, the ease of exploitation and the critical impact make this a high-priority threat. The vulnerability affects a widely used e-commerce plugin integrated into WordPress sites, which are prevalent globally, including Europe. Attackers exploiting this flaw could gain full control over the affected server, potentially leading to data theft, site defacement, malware deployment, or pivoting to internal networks.
Potential Impact
For European organizations, especially those operating e-commerce platforms using WooCommerce with the vulnerable Print Invoice & Delivery Notes plugin, this vulnerability presents a severe risk. Successful exploitation can lead to complete server compromise, resulting in loss of customer data confidentiality, unauthorized modification or deletion of data, and disruption of business operations. The ability for unauthenticated attackers to execute arbitrary code increases the likelihood of widespread exploitation, potentially leading to ransomware deployment, data breaches, or use of compromised servers in botnets. Given the critical nature of e-commerce in Europe and the reliance on WordPress-based solutions, the impact could extend to reputational damage, regulatory penalties under GDPR for data breaches, and financial losses. The vulnerability also threatens the integrity of invoicing and delivery note processes, which are essential for compliance and operational workflows in European businesses.
Mitigation Recommendations
1. Immediate action should be to update the Print Invoice & Delivery Notes for WooCommerce plugin to a patched version once available. If no patch is currently released, disable or uninstall the plugin to prevent exploitation. 2. Implement strict access controls on WordPress admin endpoints and restrict update functions to authenticated and authorized users only. 3. Employ Web Application Firewalls (WAFs) with custom rules to detect and block attempts to exploit this vulnerability, focusing on requests targeting the vulnerable update function. 4. Conduct thorough code reviews and security audits of custom or third-party plugins to identify similar insecure coding patterns, especially around code generation and execution. 5. Monitor server logs and WordPress activity logs for unusual or unauthorized access attempts, particularly targeting the plugin’s update functionality. 6. Harden PHP configurations by disabling execution in directories used by Dompdf or other libraries where not necessary. 7. Educate development and operations teams about secure coding practices related to input validation, escaping, and capability checks to prevent CWE-94 type vulnerabilities in the future.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-28T05:56:13.257Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 694b6fe5ce42f4d6d986e053
Added to database: 12/24/2025, 4:45:25 AM
Last enriched: 12/24/2025, 5:00:20 AM
Last updated: 12/24/2025, 10:01:10 AM
Views: 17
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-2025-57840: CWE-269 Improper Privilege Management in Honor Magic OS
LowCVE-2025-13407: CWE-434 Unrestricted Upload of File with Dangerous Type in Gravity Forms
UnknownCVE-2024-58335: CWE-611 Improper Restriction of XML External Entity Reference in jcthiele OpenXRechnungToolbox
MediumCVE-2025-66444: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Hitachi Hitachi Infrastructure Analytics Advisor
HighCVE-2025-66445: CWE-306 Missing Authentication for Critical Function in Hitachi Hitachi Infrastructure Analytics Advisor
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.