Skip to content
XSS Advisory Beginner CVE-2025-57881

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

The server parameter in the modifyEmail script is written into the HTML error message without sanitisation, so a crafted URL causes script execution in the victim's browser. An attacker could send a link that runs arbitrary JavaScript in the context of an authenticated user.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

Medium 6.1 View original

A reflected cross-site scripting (xss) vulnerability exists in the modifyEmail 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 application prints the user-supplied server parameter directly into an HTML error message without encoding it.

Impact

An attacker could run arbitrary JavaScript in a logged-in user's browser, though the exploit requires the victim to be authenticated and to follow a crafted link.

What the attacker needed

Valid authenticated session; victim clicks a crafted link

The fix

The parameter should be HTML-encoded before being placed in the error message; the vendor released a patch.

How it was found

  1. Log in to the application so a valid session exists.
  2. Send a request to the modifyEmail script with a script payload in the server parameter.
  3. The server returns an error page containing the unencoded payload, which the browser executes.

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.

When a web page shows back something you typed without cleaning it first, an attacker can put code in that text. Here the page echoes a value from the URL into an error message, so a link can make the browser run the attacker's script. The script runs as the logged-in user, which is why it matters.

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.