# AnWP Post Grid and Post Carousel Slider for Elementor <= 1.4.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Elementor Editor ID Selector

- **ID:** WPSEC-2026-3806
- **Plugin:** AnWP Post Grid and Post Carousel Slider for Elementor (`anwp-post-grid-for-elementor`), https://wordpress.org/plugins/anwp-post-grid-for-elementor/
- **Affected versions:** all versions before 1.5.0
- **Fixed in:** 1.5.0 (Update to 1.5.0 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-11-24)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/anwp-post-grid-for-elementor
- **Fix released:** 2026-11-23
- **Published:** 2026-11-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3806/

## Description

The AnWP Post Grid and Post Carousel Slider for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ID selector in the Elementor editor in all versions up to, and including, 1.4.0. This is due to insufficient output escaping: post titles, tag and category names, and author display names are read back from the entity-decoded data-name attribute (or from the REST response) and concatenated into HTML when shown as selected items. This makes it possible for authenticated attackers with contributor-level access and above to inject arbitrary web scripts, for example through a tag name or post title written with HTML entities. The scripts run in the browser of an editor or administrator who selects the item while editing a widget.

## References

- https://wpsec.com/vuln/WPSEC-2026-3806/
- https://plugins.svn.wordpress.org/anwp-post-grid-for-elementor/tags/1.5.0/
- https://wordpress.org/plugins/anwp-post-grid-for-elementor/

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

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.
