WPC Linked Variation for WooCommerce <= 4.6.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Link Source

Medium 6.4 CWE-79Fixed in 4.6.1
ID
WPSEC-2026-3826
Plugin
WPC Linked Variation for WooCommerce (wpc-linked-variation)
Affected
from 4.0.0 before 4.6.1
Remediation
Update to 4.6.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 Low · Affected versions Low among sites WPSec scans, 2026-11-24
Attack surface
WPC Linked Variation for WooCommerce on WPSec AttackSurface
Fix released
Published

Description

The WPC Linked Variation for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'source' setting of linked variation configurations in all versions up to, and including, 4.6.0. This is due to insufficient input validation of the source value, which is output as part of an HTML attribute name, where esc_attr() does not stop spaces or equals signs from adding new attributes. The linked variation post type also used the default post capabilities, and its save handler had no capability check. This makes it possible for authenticated attackers with contributor-level access and above to create linked variation posts and inject arbitrary web scripts that execute when an administrator opens the linked variation edit screen.

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