Skip to content
XSS Advisory Beginner CVE-2025-58089CVE-2025-58093CVE-2025-58090CVE-2025-58091CVE-2025-58088CVE-2025-58087CVE-2025-58094CVE-2025-58095CVE-2025-58092

MedDream PACS Premium config.php multiple reflected cross-site scripting (XSS) vulnerability

Multiple reflected cross-site scripting flaws exist in the config.php script of MedDream PACS Premium, where user-supplied parameters are printed into HTML without sanitisation. An attacker could craft a malicious URL or form submission to execute arbitrary JavaScript in a victim's browser.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

Medium 6.1 View original

Multiple reflected cross-site scripting (xss) vulnerabilities exist in the config.php functionality of MedDream PACS Premium 7.3.6.870. Specially crafted malicious URLs 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 writes user-controlled parameter values directly into HTML output without encoding or sanitisation.

Impact

An attacker could execute arbitrary JavaScript in a victim's browser, potentially leading to session theft or other client-side attacks, though the CVSS score reflects limited confidentiality and integrity impact.

What the attacker needed

Victim clicks a crafted link or submits a form; attacker can craft a URL or POST request

The fix

The vulnerabilities were fixed in a vendor patch release.

How it was found

  1. Send a GET request to config.php with a crafted status parameter containing script code.
  2. Observe the script code reflected unescaped in the HTML response.
  3. Send a POST request to config.php with update set and a crafted archivedir parameter pointing to a non-existent directory.
  4. Observe the archivedir value reflected unescaped in the error message.
  5. Repeat with other parameters such as longtermdir, uploaddir, thumbnaildir, phpexe, phpdir, worklistsrc, and imagedir.

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.

Cross-site scripting (XSS) is when a website takes input from a user and puts it directly into a page without cleaning it, so an attacker can make the page run their own JavaScript. Here, several settings fields in an admin configuration page are echoed back without encoding, so a crafted link or form can run code in the browser of whoever visits 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.