YITH WooCommerce Compare <= 3.14.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via yith_woocompare_counter Shortcode Attributes

Medium 6.4 CWE-79Fixed in 3.15.0
ID
WPSEC-2026-0445
Plugin
YITH WooCommerce Compare (yith-woocommerce-compare)
Affected
all versions before 3.15.0
Remediation
Update to 3.15.0 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-10-06
Attack surface
YITH WooCommerce Compare on WPSec AttackSurface
Fix released
Published

Description

The YITH WooCommerce Compare plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'text', 'type', 'show_icon' and 'icon' attributes of the yith_woocompare_counter shortcode in all versions up to, and including, 3.14.0 due to insufficient input sanitization and output escaping on user supplied attributes, including values containing escape sequences decoded during shortcode attribute parsing. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

References

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

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

License: CC BY 4.0