Skip to content
XSS Advisory Beginner CVE-2025-46270

MedDream PACS Premium fetchPriorStudies reflected cross-site scripting (XSS) vulnerability

The fetchPriorStudies script writes the user-supplied uid parameter straight into the HTML page without sanitising it. An attacker who gets a logged-in user to open a crafted URL can run arbitrary JavaScript in that user's session.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

Medium 6.1 View original

A reflected cross-site scripting (xss) vulnerability exists in the fetchPriorStudies functionality of MedDream PACS Premium 7.3.6.870. A specially crafted malicious URL can lead to arbitrary javascript code execution.

Marcin 'Icewall' Noga, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The script reads the uid request parameter and prints it directly into the HTML response without encoding or validation.

Impact

An attacker could execute arbitrary JavaScript in a victim's authenticated session, though the exploit requires the victim to be logged in and to open the crafted URL.

What the attacker needed

Valid authenticated session; victim opens a crafted URL

The fix

The uid value should be HTML-encoded before being printed into the page; the text notes a vendor patch was released but does not describe it.

How it was found

  1. Log in to the MedDream PACS interface so a valid session exists.
  2. Send a request to the fetchPriorStudies script with a uid value containing HTML and JavaScript and a remoteae value.
  3. Observe the response page containing the injected markup inside the study message.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A web page can include small programs called JavaScript that run in your browser. This medical imaging server takes a value from the web address and pastes it into the page without cleaning it first, so an attacker can put their own JavaScript there. If a logged-in user clicks the attacker's link, that code runs as if the site itself had written it.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Marcin 'Icewall' Noga

View all

146 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.