# Better Post & Filter Widgets for Elementor <= 1.9.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Widget Pagination Links

- **ID:** WPSEC-2026-4420
- **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:** from 1.6.0 before 1.9.4
- **Fixed in:** 1.9.4 (Update to 1.9.4 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/better-post-filter-widgets-for-elementor
- **Fix released:** 2026-12-01
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4420/

## Description

The Better Post & Filter Widgets for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Post widget's pagination, load more and infinite scroll handling in all versions from 1.6.0 up to, and including, 1.9.3. This is because the front-end script follows any link with the pagination classes inside the widget, including links in the widget's Custom HTML skin or in post content, without checking that the URL is on the same site, and then inserts the fetched HTML into the page. This makes it possible for authenticated attackers, with contributor-level access and above, to point such a link at a host they control that serves cross-origin-readable markup. The markup runs scripts in the browser of a visitor who clicks the link, presses load more or scrolls to the infinite-scroll trigger.

## References

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

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

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.
