Skip to content
XSS Advisory Beginner CVE-2025-57786

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

The notifynewstudy script in MedDream PACS Premium writes the user parameter into the HTML page without sanitisation, so a crafted URL causes script execution in the victim's browser. An attacker could send such a link to a logged-in user to run arbitrary JavaScript in the application's context.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

Medium 6.1 View original

A reflected cross-site scripting (xss) vulnerability exists in the notifynewstudy 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 query parameter into the HTML response without encoding or validating it before printing it in an error message.

Impact

An attacker could run arbitrary JavaScript in a logged-in user's browser through a crafted link, though the report notes the issue requires authentication and user interaction.

What the attacker needed

Valid authenticated session; victim opens a crafted link

The fix

The vendor released a patch, and the parameter should be HTML-encoded before being written into the page.

How it was found

  1. Log in to the application so a valid session exists.
  2. Send a request to the notifynewstudy script with a crafted user parameter and any uid value.
  3. The server returns a page that includes the supplied value unescaped, so the script runs in the browser.

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 reflected cross-site scripting bug means the website takes something from the address bar and puts it straight into the page without cleaning it. If that something is a small script, the browser runs it as if the site itself had written it. The attacker only has to trick a logged-in user into opening a prepared link.

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.