Germanized for WooCommerce <= 4.2.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via data-o_content Attribute in Variation Form

Medium 6.4 CWE-79Fixed in 4.2.1
ID
WPSEC-2026-4176
Plugin
Germanized for WooCommerce (woocommerce-germanized)
Affected
from 3.9.0 before 4.2.1
Remediation
Update to 4.2.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-28
Attack surface
Germanized for WooCommerce on WPSec AttackSurface
Fix released
Published

Description

The Germanized for WooCommerce plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via the 'data-o_content' HTML attribute handled by the variation form script in versions 3.9.0 up to, and including, 4.2.0. This is due to the script reading an element's original markup back from its 'data-o_content' DOM attribute and writing it to the page with jQuery's .html() when the variation form is reset, so the value of an attribute already in the page is treated as trusted markup. This makes it possible for authenticated attackers, with contributor-level access and above, to put elements with that class and attribute in post content next to a variation form and inject arbitrary web scripts that execute when a user opens the page.

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