# Load More Anything <= 3.3.9 - Authenticated (Administrator+) Stored Cross-Site Scripting via Ajax Load More Settings

- **ID:** WPSEC-2026-4171
- **Plugin:** Load More Anything (`ajax-load-more-anything`), https://wordpress.org/plugins/ajax-load-more-anything/
- **Affected versions:** from 3.0.0 before 3.3.10
- **Fixed in:** 3.3.10 (Update to 3.3.10 or later.)
- **Severity:** Medium 4.4 (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/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-28)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ajax-load-more-anything
- **Fix released:** 2026-11-27
- **Published:** 2026-11-28
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4171/

## Description

The Load More Anything plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's Ajax Load More settings in versions 3.0.0 up to, and including, 3.3.9. This is due to insufficient input sanitization and output escaping: the settings were saved without sanitization, the 'wrapper_to_hide' selectors were printed raw into a front-end <style> block, and the 'data_implement_selectors' value was placed inside a single-quoted JavaScript string. This makes it possible for authenticated attackers with administrator-level access to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multisite installations and installations where unfiltered_html has been disabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-4171/
- https://plugins.svn.wordpress.org/ajax-load-more-anything/tags/3.3.10/
- https://wordpress.org/plugins/ajax-load-more-anything/

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

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.
