Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-5586: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tushargohel WordPress Ajax Load More and Infinite Scroll

0
Medium
VulnerabilityCVE-2025-5586cvecve-2025-5586cwe-79
Published: Fri Jun 06 2025 (06/06/2025, 06:42:49 UTC)
Source: CVE Database V5
Vendor/Project: tushargohel
Product: WordPress Ajax Load More and Infinite Scroll

Description

The WordPress Ajax Load More and Infinite Scroll plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘id’ parameter in all versions up to, and including, 1.6.0 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 15:27:18 UTC

Technical Analysis

CVE-2025-5586 is a stored Cross-Site Scripting (XSS) vulnerability classified under CWE-79, affecting the WordPress Ajax Load More and Infinite Scroll plugin developed by tushargohel. The vulnerability exists due to improper neutralization of input during web page generation, specifically through the ‘id’ parameter. Versions up to and including 1.6.0 fail to sufficiently sanitize and escape this parameter, allowing authenticated users with Contributor-level access or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the injected scripts execute in their browsers, potentially compromising session tokens, redirecting users, or performing unauthorized actions on behalf of the victim. The vulnerability does not require user interaction beyond page access and has a CVSS 3.1 base score of 6.4, indicating medium severity. The attack vector is network-based, with low attack complexity and privileges required at the Contributor level. The scope is changed because the vulnerability affects other users beyond the attacker. No public exploits have been reported yet, but the vulnerability's nature and ease of exploitation make it a credible threat. The plugin is widely used in WordPress environments globally, making the vulnerability relevant to many organizations running WordPress sites with this plugin installed. The lack of official patches at the time of reporting necessitates immediate mitigation efforts by administrators.

Potential Impact

The impact of CVE-2025-5586 can be significant for organizations relying on the affected WordPress plugin. Exploitation allows an attacker with Contributor-level access to inject persistent malicious scripts, which execute in the browsers of any user visiting the infected pages. This can lead to session hijacking, theft of sensitive information, unauthorized actions performed on behalf of users, defacement, or distribution of malware. Since the vulnerability affects the integrity and confidentiality of user data and site content, it undermines trust and can cause reputational damage. Although availability is not directly impacted, the indirect consequences of exploitation—such as site defacement or user account compromise—can disrupt normal operations. Organizations with multiple contributors or user-generated content are at higher risk, as attackers can leverage legitimate accounts to exploit the flaw. The vulnerability's medium severity score reflects a moderate but credible threat, especially in environments where Contributor-level permissions are widely granted. Without mitigation, attackers can exploit this vulnerability remotely without user interaction, increasing the risk of widespread compromise.

Mitigation Recommendations

To mitigate CVE-2025-5586, organizations should first check for and apply any official patches or updates from the plugin developer as soon as they become available. In the absence of patches, administrators should restrict Contributor-level permissions to trusted users only and review existing user roles to minimize the number of users with such access. Implementing Web Application Firewalls (WAFs) with rules to detect and block suspicious input patterns targeting the ‘id’ parameter can help reduce exploitation risk. Site administrators should also enable Content Security Policy (CSP) headers to limit the execution of unauthorized scripts. Regularly auditing and sanitizing user-generated content can prevent malicious payloads from persisting. Monitoring logs for unusual activity related to the plugin or unexpected script injections is critical for early detection. Additionally, educating contributors about safe content practices and the risks of injecting untrusted code can reduce accidental exploitation. Finally, consider disabling or replacing the vulnerable plugin with a secure alternative if immediate patching is not feasible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-06-03T22:07:23.863Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68429199182aa0cae20492f1

Added to database: 6/6/2025, 6:58:33 AM

Last enriched: 2/27/2026, 3:27:18 PM

Last updated: 3/23/2026, 5:10:13 PM

Views: 57

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses