{
 "id": "WPSEC-2026-3826",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3826/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3826/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3826/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-3826.json",
 "title": "WPC Linked Variation for WooCommerce <= 4.6.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Link Source",
 "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.",
 "plugin": {
  "slug": "wpc-linked-variation",
  "name": "WPC Linked Variation for WooCommerce",
  "full_name": "WPC Linked Variation for WooCommerce",
  "wordpress_org": "https://wordpress.org/plugins/wpc-linked-variation/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wpc-linked-variation/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wpc-linked-variation"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "4.0.0",
    "from_inclusive": true,
    "to": "4.6.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 4.0.0 before 4.6.1"
  ]
 },
 "introduced_in": "4.0.0",
 "fixed_in": "4.6.1",
 "remediation": "Update to 4.6.1 or later.",
 "fix_released": "2026-11-24T01:36:28+00:00",
 "published": "2026-11-25T01:43:42+00:00",
 "updated": "2026-11-24T11:30:28.787138+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3826/",
  "https://plugins.svn.wordpress.org/wpc-linked-variation/tags/4.6.1/",
  "https://wordpress.org/plugins/wpc-linked-variation/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wpc-linked-variation",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-24"
 }
}