Skip to content
XSS Advisory Beginner CVE-2025-54817

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

A reflected cross-site scripting flaw exists in the autoPurge.php script of MedDream PACS Premium, where the purgeby parameter is written into the HTML output without sanitisation. An attacker could trick a logged-in user into submitting a crafted request to execute arbitrary JavaScript in the context of the application.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

Medium 6.1 View original

A reflected cross-site scripting (xss) vulnerability exists in the autoPurge 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

Impact

An attacker could execute arbitrary JavaScript in the context of a logged-in user's session, potentially leading to actions performed on behalf of the victim, though the report does not demonstrate specific consequences beyond code execution.

What the attacker needed

Victim is logged in; attacker can deliver a crafted request

The fix

The application should sanitise or HTML-encode the purgeby parameter before reflecting it in the error message; the report notes a vendor patch was released.

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 website takes input from a user and puts it directly into a web page without cleaning it, an attacker can insert their own code. Here, the 'purgeby' value is echoed back in an error message, so a malicious value containing a script tag runs in the victim's browser. This lets the attacker run JavaScript as the victim, but only if the victim is already logged in and is tricked into sending the request.

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.