CVE-2026-136519: Advanced Product Fields (Product Addons) for WooCommerce <= 1.7.4 - Unauthenticated Stored Cross-Site Scripting via Product Add-on Field Value
The Advanced Product Fields (Product Addons) for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wapf[field<id>]' parameter in all versions up to, and including, 1.7.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload survives sanitization via a whitespace-prefixed tag gadget, is normalized into real HTML elements by wpksespost() and forcebalancetags() at render time, and is then executed by WordPress core's tags-box.js when it encounters the forged #tagsdiv-posttag element on the order screen.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Sites running Advanced Product Fields (Product Addons) for WooCommerce version 1.7.4 or earlier are affected. An unauthenticated attacker can supply the malicious product add-on field value without needing an account.
What user interaction is required for the injected script to execute?
The payload executes when a user accesses an injected page. The described execution path specifically involves WordPress core tags-box.js processing a forged #tagsdiv-post_tag element on the order screen.
What input should be investigated for signs of exploitation?
Review product add-on field values submitted through the wapf[field_<id>] parameter, particularly values containing whitespace-prefixed HTML tag payloads. The payload may have been normalized into HTML at rendering time by wp_kses_post() and force_balance_tags().