CVE-2025-4775

WordPress Infinite Scroll – Ajax Load More <= 7.4.0.1 - Authenticated(Contributor+) Stored Cross-Site Scripting

Published Jun 17, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The WordPress Infinite Scroll – Ajax Load More plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the data-button-label HTML attribute in all versions up to, and including, 7.4.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Analysis

AI-generated

Technical impact

The vulnerability lies in an inadequate sanitization and escaping routine for the data-button-label attribute in the Ajax Load More plugin. An authenticated user with Contributor-level privilege or higher can insert arbitrary HTML or JavaScript code that the plugin stores and later renders on pages that use the infinite‑scroll feature. When another user views the affected page, the injected script executes in that user's browser context, allowing the attacker to steal session cookies, deface content, or redirect users to malicious sites. The vulnerability directly compromises a site’s confidentiality and integrity for all visitors to the affected pages.

Affected Systems

WordPress sites that have installed the Ajax Load More – Infinite Scroll plugin from dcooney, in any revision up to and including version 7.4.0.1.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity, while an EPSS score of less than 1 % suggests that the likelihood of exploitation in the wild is currently low. The vulnerability is not listed in the CISA KEV catalog. Attackers are required to authenticate with at least Contributor privileges within the affected WordPress installation to inject a payload, thus limiting the threat to sites with unauthorized or compromised contributor accounts. Once injected, however, the stored XSS executes automatically for any site visitor, making the impact far‑reaching for each load on populated page.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Ajax Load More plugin to a version newer than 7.4.0.1.
  • If an upgrade is temporarily infeasible, strip or encode the data-button-label attribute before rendering it, ensuring that any stored value is escaped as plain text.
  • Immediately remove or purge any pages or posts that have been compromised by malicious data-button-label entries to eliminate the existing stored payloads.
  • Consider revoking Contributor privileges for accounts that are no longer needed to reduce the attack surface.

Generated by OpenCVE AI on April 21, 2026 at 20:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-18448 The WordPress Infinite Scroll – Ajax Load More plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the data-button-label HTML attribute in all versions up to, and including, 7.4.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The WordPress Infinite Scroll – Ajax Load More plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the data-button-label HTML attribute in all versions up to, and including, 7.4.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title WordPress Infinite Scroll – Ajax Load More <= 7.4.0.1 - Authenticated(Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:56 PM
Reserved
May 15, 2025, 1:49 PM
Status
Deferred
Published
Jun 17, 2025, 2:15 AM
Modified
Jun 17, 2026, 9:33 AM