Query Loop Load More <= 1.0.19 - Authenticated (Author+) Stored Cross-Site Scripting via Load More Button Data Attributes
- ID
- WPSEC-2026-4310
- Plugin
- Query Loop Load More (query-loop-load-more)
- Affected
- all versions before 1.0.20
- Remediation
- Update to 1.0.20 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions None seen among sites WPSec scans, 2026-12-01
- Attack surface
- Query Loop Load More on WPSec AttackSurface
- Fix released
- Published
Description
The Query Loop Load More plugin for WordPress is vulnerable to Stored (DOM-based) Cross-Site Scripting via the Load More button's data-query-url and data-query-next-page attributes in all versions up to, and including, 1.0.19. This is due to insufficient validation of the pagination parameter name and value used to build the fetch URL, no check of the response content type, and unsafe parsing of the fetched response with innerHTML and insertAdjacentHTML. This makes it possible for authenticated attackers, with author-level access and above, to place a Load More button in a post that redirects the request to another same-origin endpoint and inject arbitrary web scripts that execute when a user clicks the button or scrolls to it.
References
- https://wpsec.com/vuln/WPSEC-2026-4310/
- https://plugins.svn.wordpress.org/query-loop-load-more/tags/1.0.20/
- https://wordpress.org/plugins/query-loop-load-more/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS