Advanced Product Fields (Product Addons) for WooCommerce <= 1.7.4 - Unauthenticated HTML Injection via Product Field Values

Medium 4.3 CWE-80Fixed in 1.7.5
ID
WPSEC-2026-3964
Plugin
Advanced Product Fields (Product Addons) for WooCommerce (advanced-product-fields-for-woocommerce)
Affected
all versions before 1.7.5
Remediation
Update to 1.7.5 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness
CWE-80
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-26
Attack surface
Advanced Product Fields (Product Addons) for WooCommerce on WPSec AttackSurface
Fix released
Published

Description

The Advanced Product Fields (Product Addons) for WooCommerce plugin for WordPress is vulnerable to HTML Injection via customer-entered text and textarea product field values in all versions up to, and including, 1.7.4, due to the values being cleaned only with sanitize_text_field()/sanitize_textarea_field(), which keep a '<' followed by whitespace (such as '< a href=...>'). WooCommerce later passes the stored cart and order item meta through wp_kses_post(), which turns that text into a real HTML element limited to the tags and attributes wp_kses_post() allows. This makes it possible for unauthenticated attackers to inject arbitrary HTML, such as links, images and forms, into order item meta shown to administrators and shop managers on the order screen and in order emails.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0