{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3964",
 "modified": "2026-11-26T08:50:01Z",
 "published": "2026-11-26T08:50:01Z",
 "summary": "Advanced Product Fields (Product Addons) for WooCommerce <= 1.7.4 - Unauthenticated HTML Injection via Product Field Values",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "advanced-product-fields-for-woocommerce"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "1.7.5"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 1.7.5"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3964/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/advanced-product-fields-for-woocommerce/tags/1.7.5/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/advanced-product-fields-for-woocommerce/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3964/",
  "cwe_ids": [
   "CWE-80"
  ],
  "vulnerability_type": "CONTENT INJECTION",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
