CVE-2026-17581: CWE-94 Improper Control of Generation of Code ('Code Injection') in kilbot WCPOS – Point of Sale (POS) plugin for WooCommerce
The WCPOS – Point of Sale (POS) plugin for WooCommerce plugin for WordPress is vulnerable to Code Injection via the 'thermal' Template Engine in all versions up to, and including, 1.9.14 due to the Receipt_Renderer_Factory dispatching templates with the 'thermal' engine to the Legacy_Php_Renderer instead of a safe thermal-specific renderer. This makes it possible for authenticated attackers, with Shop Manager-level access and above, to inject arbitrary PHP code into a template post that is subsequently written to a temporary file and executed via PHP's include(), resulting in remote code execution on the server. This requires the attacker to have Shop Manager-level access or above, as the template save path enforces a wcpos_template_settings nonce and the manage_woocommerce_pos capability check.
AI Analysis
Technical Summary
CVE-2026-17581 is a code injection vulnerability in the WCPOS – Point of Sale (POS) plugin for WooCommerce for WordPress. The issue exists in all versions up to and including 1.9.14 due to the Receipt_Renderer_Factory dispatching 'thermal' templates to the Legacy_Php_Renderer rather than a safe thermal-specific renderer. This allows authenticated attackers with Shop Manager-level access or higher, who pass the wcpos_template_settings nonce and manage_woocommerce_pos capability checks, to inject arbitrary PHP code into a template post. The injected code is written to a temporary file and executed via PHP's include(), resulting in remote code execution on the server.
Potential Impact
Successful exploitation allows an attacker with Shop Manager-level privileges or higher to execute arbitrary PHP code on the server hosting the WooCommerce POS plugin. This can lead to full compromise of the affected system, including data theft, modification, or destruction, and potentially further network pivoting. The vulnerability requires authenticated access with specific capabilities, limiting exposure to authorized users only.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Shop Manager-level access to trusted users only and monitor for suspicious activity related to template management. Avoid using the 'thermal' Template Engine if possible or disable the vulnerable functionality if configurable.
CVE-2026-17581: CWE-94 Improper Control of Generation of Code ('Code Injection') in kilbot WCPOS – Point of Sale (POS) plugin for WooCommerce
Description
The WCPOS – Point of Sale (POS) plugin for WooCommerce plugin for WordPress is vulnerable to Code Injection via the 'thermal' Template Engine in all versions up to, and including, 1.9.14 due to the Receipt_Renderer_Factory dispatching templates with the 'thermal' engine to the Legacy_Php_Renderer instead of a safe thermal-specific renderer. This makes it possible for authenticated attackers, with Shop Manager-level access and above, to inject arbitrary PHP code into a template post that is subsequently written to a temporary file and executed via PHP's include(), resulting in remote code execution on the server. This requires the attacker to have Shop Manager-level access or above, as the template save path enforces a wcpos_template_settings nonce and the manage_woocommerce_pos capability check.
CVSS v3.1
Score 7.2high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-17581 is a code injection vulnerability in the WCPOS – Point of Sale (POS) plugin for WooCommerce for WordPress. The issue exists in all versions up to and including 1.9.14 due to the Receipt_Renderer_Factory dispatching 'thermal' templates to the Legacy_Php_Renderer rather than a safe thermal-specific renderer. This allows authenticated attackers with Shop Manager-level access or higher, who pass the wcpos_template_settings nonce and manage_woocommerce_pos capability checks, to inject arbitrary PHP code into a template post. The injected code is written to a temporary file and executed via PHP's include(), resulting in remote code execution on the server.
Potential Impact
Successful exploitation allows an attacker with Shop Manager-level privileges or higher to execute arbitrary PHP code on the server hosting the WooCommerce POS plugin. This can lead to full compromise of the affected system, including data theft, modification, or destruction, and potentially further network pivoting. The vulnerability requires authenticated access with specific capabilities, limiting exposure to authorized users only.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Shop Manager-level access to trusted users only and monitor for suspicious activity related to template management. Avoid using the 'thermal' Template Engine if possible or disable the vulnerable functionality if configurable.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-07-27T15:48:04.409Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a814d96bf8831d5398c6a65
Added to database: 08/16/2026, 05:41:42 UTC
Last enriched: 08/16/2026, 05:56:09 UTC
Last updated: 08/17/2026, 00:41:10 UTC
Views: 9
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.