{
 "id": "WPSEC-2026-4219",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4219/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4219/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4219/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4219.json",
 "title": "Better Post & Filter Widgets for Elementor <= 1.9.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Custom Target Selector Widget Settings",
 "description": "The Better Post & Filter Widgets for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'target_selector' (Custom Target Selector) and 'target_widget' settings of its Filter, Search Bar and Sorting widgets in all versions up to, and including, 1.9.2. This is due to insufficient input sanitization of these values. They are output unchanged into the widgets' front-end data-settings, and the plugin's front-end script then passes them to jQuery as a selector, which turns a value containing HTML markup into DOM elements. This makes it possible for authenticated attackers, with contributor-level access and above who can edit with Elementor, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.",
 "plugin": {
  "slug": "better-post-filter-widgets-for-elementor",
  "name": "Better Post & Filter Widgets for Elementor",
  "full_name": "Better Post & Filter Widgets for Elementor",
  "wordpress_org": "https://wordpress.org/plugins/better-post-filter-widgets-for-elementor/",
  "advisories_url": "https://wpsec.com/vuln/plugin/better-post-filter-widgets-for-elementor/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/better-post-filter-widgets-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": "1.9.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.9.3"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.9.3",
 "remediation": "Update to 1.9.3 or later.",
 "fix_released": "2026-11-28T04:34:56+00:00",
 "published": "2026-11-29T04:41:02+00:00",
 "updated": "2026-11-28T10:51:54.532497+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4219/",
  "https://plugins.svn.wordpress.org/better-post-filter-widgets-for-elementor/tags/1.9.3/",
  "https://wordpress.org/plugins/better-post-filter-widgets-for-elementor/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/better-post-filter-widgets-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-11-29"
 }
}