{
 "id": "WPSEC-2026-1274",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1274/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1274/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1274/index.md",
 "title": "Dynamic Visibility for Elementor <= 6.0.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Query Control",
 "description": "The Dynamic Visibility for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Query Control (ooo_query) used in element visibility settings in all versions up to, and including, 6.0.6, due to insufficient output escaping. The control template prints option labels without escaping, select2 markup escaping is turned off, and the quick-edit link is built by joining the stored control value into HTML. For some query types, such as Post Field and User Field, the option label is the stored control value itself. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts into an element's visibility settings. The scripts run when another user, such as an administrator, edits that page in the Elementor editor.",
 "plugin": {
  "slug": "dynamic-visibility-for-elementor",
  "name": "Dynamic Visibility for Elementor",
  "full_name": "Dynamic Visibility for Elementor",
  "wordpress_org": "https://wordpress.org/plugins/dynamic-visibility-for-elementor/",
  "advisories_url": "https://wpsec.com/vuln/plugin/dynamic-visibility-for-elementor/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/dynamic-visibility-for-elementor"
 },
 "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": null,
    "from_inclusive": true,
    "to": "6.0.7",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 6.0.7"
  ]
 },
 "introduced_in": null,
 "fixed_in": "6.0.7",
 "remediation": "Update to 6.0.7 or later.",
 "fix_released": "2026-10-19T12:03:21+00:00",
 "published": "2026-10-21T10:43:36+00:00",
 "updated": "2026-10-21T10:33:58.323903+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1274/",
  "https://plugins.svn.wordpress.org/dynamic-visibility-for-elementor/tags/6.0.7/",
  "https://wordpress.org/plugins/dynamic-visibility-for-elementor/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/dynamic-visibility-for-elementor",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-10-21"
 }
}