# Better Post & Filter Widgets for Elementor <= 1.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Repeater Dynamic Tag Title Tags

- **ID:** WPSEC-2026-1650
- **Plugin:** Better Post & Filter Widgets for Elementor (`better-post-filter-widgets-for-elementor`), https://wordpress.org/plugins/better-post-filter-widgets-for-elementor/
- **Affected versions:** all versions before 1.9.2
- **Fixed in:** 1.9.2 (Update to 1.9.2 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/better-post-filter-widgets-for-elementor
- **Fix released:** 2026-10-25
- **Published:** 2026-10-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1650/

## Description

The Better Post & Filter Widgets for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Repeater dynamic tag's 'toggle_title_tag' and 'tab_title_tag' settings in all versions up to, and including, 1.9.1 due to insufficient input sanitization and output escaping. The settings were output as HTML tag names after only esc_attr, without being checked against an allowlist. 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

- https://wpsec.com/vuln/WPSEC-2026-1650/
- https://plugins.svn.wordpress.org/better-post-filter-widgets-for-elementor/tags/1.9.2/
- https://wordpress.org/plugins/better-post-filter-widgets-for-elementor/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1650/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
