# Ajax Load More – Infinite Scroll, Load More, & Lazy Load <= 8.0.2 - Authenticated (Administrator+) Remote Code Execution via Repeater Template Save

- **ID:** WPSEC-2026-4538
- **Plugin:** Ajax Load More – Infinite Scroll, Load More, & Lazy Load (`ajax-load-more`), https://wordpress.org/plugins/ajax-load-more/
- **Affected versions:** all versions before 8.0.3
- **Fixed in:** 8.0.3 (Update to 8.0.3 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ajax-load-more
- **Fix released:** 2026-12-02
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4538/

## Description

The Ajax Load More plugin for WordPress is vulnerable to Remote Code Execution via the alm_save_repeater AJAX action in all versions up to, and including, 8.0.2, due to the template save function only requiring the edit_theme_options capability before writing user-supplied PHP code to repeater template files that are later included, without checking for code-editing capabilities such as unfiltered_html, edit_themes or edit_plugins. This makes it possible for authenticated attackers with administrator-level access who are not allowed to edit code, such as site administrators on a multisite network, to write and execute arbitrary PHP code on the server.

## References

- https://wpsec.com/vuln/WPSEC-2026-4538/
- https://plugins.svn.wordpress.org/ajax-load-more/tags/8.0.3/
- https://wordpress.org/plugins/ajax-load-more/

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

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.
