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

- **ID:** WPSEC-2026-4176
- **Plugin:** Germanized for WooCommerce (`woocommerce-germanized`), https://wordpress.org/plugins/woocommerce-germanized/
- **Affected versions:** from 3.9.0 before 4.2.1
- **Fixed in:** 4.2.1 (Update to 4.2.1 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-28)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/woocommerce-germanized
- **Fix released:** 2026-11-27
- **Published:** 2026-11-28
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4176/

## 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

- https://wpsec.com/vuln/WPSEC-2026-4176/
- https://plugins.svn.wordpress.org/woocommerce-germanized/tags/4.2.1/
- https://wordpress.org/plugins/woocommerce-germanized/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4176/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
