PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2025-5084: 
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-5084 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Post Grid Master plugin for WordPress, affecting all versions up to and including 3.4.13. The flaw exists in the argsArray['read_more_text'] parameter due to insufficient input sanitization and output escaping, allowing unauthenticated attackers to inject arbitrary web scripts. It was published on July 24, 2025, with a CVSS v3.1 base score of 6.1 (Medium) (Feedly, Wordfence).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The argsArray['read_more_text'] parameter, passed via a POST request to /wp-admin/admin-ajax.php using the asr_filter_posts AJAX action, is not properly sanitized before being reflected in the server's response. An attacker can craft a malicious URL or form submission containing a JavaScript payload (e.g., alert(1) or encoded variants using String.fromCharCode()) that executes in the victim's browser when they interact with the attacker-controlled link. No authentication is required to trigger the vulnerability, though user interaction is needed for execution (GitHub PoC, Feedly).

Impact

Successful exploitation allows an unauthenticated attacker to execute arbitrary JavaScript in the context of a victim's browser session on the affected WordPress site. This can result in session cookie theft, credential harvesting, keylogging, redirection to malicious sites, or performing unauthorized actions on behalf of the victim within the WordPress application. The scope is changed (affecting the user's browser context beyond the server), though availability is not directly impacted (Feedly).

Exploitability

A public proof-of-concept exploit is available on GitHub, published on August 11, 2025, demonstrating the attack via a crafted POST request to the WordPress AJAX endpoint (GitHub PoC). There is no confirmed evidence of active in-the-wild exploitation at this time, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.095%, indicating a low but non-zero probability of exploitation in the near term (Feedly).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Post Grid Master plugin (versions ≤ 3.4.13) using tools like WPScan, Shodan, or by inspecting plugin directories on target sites.
  2. Craft malicious payload: Prepare a JavaScript payload for the argsArray[read_more_text] parameter. To bypass simple filters, use encoding such as String.fromCharCode(70,114,49,116,48) instead of plain strings.
  3. Construct the attack request: Build a POST request targeting /wp-admin/admin-ajax.php with action=asr_filter_posts, a valid nonce (obtainable from the page source of any page using the plugin's filter widget), and the XSS payload injected into argsArray[read_more_text].
  4. Deliver the payload: Trick a victim (e.g., a logged-in WordPress administrator) into triggering the crafted request — for example, by embedding it in a link, a CSRF-style form, or a phishing page.
  5. Achieve objective: When the victim's browser processes the reflected response, the injected script executes, enabling session cookie theft, credential capture, or other malicious actions within the victim's authenticated session (GitHub PoC).

Indicators of compromise

  • Network: Unusual POST requests to /wp-admin/admin-ajax.php with action=asr_filter_posts containing JavaScript payloads or encoded strings (e.g., String.fromCharCode) in the argsArray[read_more_text] parameter; unexpected outbound connections from the victim's browser to attacker-controlled domains.
  • Logs: WordPress or web server access logs showing POST requests to admin-ajax.php with anomalous or encoded values in the argsArray%5Bread_more_text%5D field; repeated requests with varying payloads suggesting probing activity.
  • Browser/Session: Unexpected session invalidation or new admin accounts created shortly after a user interaction with a suspicious link; reports from users of unexpected redirects or pop-ups on the WordPress site (GitHub PoC).

Mitigation and workarounds

Site administrators should update the Post Grid Master plugin to a version beyond 3.4.13 as soon as a patched release is available from the plugin vendor (addonmaster). As interim mitigations, consider implementing a Web Application Firewall (WAF) rule to block requests containing JavaScript payloads in the argsArray[read_more_text] parameter, and restrict access to admin-ajax.php where feasible. Users should also be educated to avoid clicking on unsolicited links related to the WordPress site (Feedly, Wordfence).

Community reactions

Wordfence included CVE-2025-5084 in its weekly WordPress vulnerability report for July 21–27, 2025, highlighting it as part of a broader set of plugin vulnerabilities tracked that week (Wordfence). The vulnerability was also noted by threat intelligence aggregators including VulDB and Vulners shortly after disclosure. No significant vendor statements or high-profile researcher commentary beyond the PoC publication have been observed.

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-103381MEDIUM6.5
  • mintpay
NoNoOct 23, 2026
CVE-2026-103300MEDIUM5.3
  • woo-payment-gateway-for-eurobank
NoNoOct 23, 2026
CVE-2026-103299MEDIUM5.3
  • woo-alpha-bank-payment-gateway
NoNoOct 23, 2026
CVE-2026-94263MEDIUM4.8
  • acf-extended
NoYesOct 23, 2026
CVE-2026-111965MEDIUM4.3
  • profile-builder
NoYesOct 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management