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

Medium 4.9 CWE-22Fixed in 8.0.3
ID
WPSEC-2026-4537
Plugin
Ajax Load More – Infinite Scroll, Load More, & Lazy Load (ajax-load-more)
Affected
from 5.5.4 before 8.0.3
Remediation
Update to 8.0.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-22
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-03
Attack surface
Ajax Load More – Infinite Scroll, Load More, & Lazy Load on WPSec AttackSurface
Fix released
Published

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

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0