Skip to content
XSS Advisory Beginner CVE-2025-54778

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

The existingUser script in MedDream PACS Premium writes the value of the external request parameter into the HTML page without sanitising it. An attacker who can get a logged-in user to open a crafted link could 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 existingUser 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 copies the user-supplied external parameter into the page output without encoding or validating it.

Impact

An attacker could run arbitrary JavaScript in a logged-in user's browser, though the victim must be authenticated and must be persuaded to open the crafted URL.

What the attacker needed

Valid logged-in session; victim opens a crafted link

The fix

The parameter should be encoded or validated before being written into the page; the vendor released a patch in December 2025.

How it was found

  1. Log in to the application so a valid session exists.
  2. Send a request to the existingUser script with a crafted external parameter containing markup.
  3. Observe the parameter value reflected unescaped into the returned HTML page.

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 sometimes takes a value from the address bar and puts it straight into the page. If that value contains code instead of plain text, the browser runs it as if the site itself had written it. Here a logged-in user who clicks a prepared link would run the attacker's code inside the medical imaging application.

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.