# Ajax Load More – Infinite Scroll, Load More, & Lazy Load <= 8.0.2 - Authenticated (Administrator+) Arbitrary File Read via Repeater Template Export

- **ID:** WPSEC-2026-4537
- **Plugin:** Ajax Load More – Infinite Scroll, Load More, & Lazy Load (`ajax-load-more`), https://wordpress.org/plugins/ajax-load-more/
- **Affected versions:** from 5.5.4 before 8.0.3
- **Fixed in:** 8.0.3 (Update to 8.0.3 or later.)
- **Severity:** Medium 4.9 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N)
- **Weakness:** CWE-22
- **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-4537/

## Description

The Ajax Load More plugin for WordPress is vulnerable to Path Traversal via the repeater template export feature in all versions up to, and including, 8.0.2, due to the '_alm_theme_repeaters_dir' setting being stored without sanitization and then added to the theme path used by the 'theme-repeater' export, which passes the result to readfile() without checking that it stays inside the template directory. This makes it possible for authenticated attackers with administrator-level access, such as site administrators on a multisite network, to read the contents of arbitrary files on the server, such as wp-config.php.

## References

- https://wpsec.com/vuln/WPSEC-2026-4537/
- 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-4537/

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.
