Skip to content
XSS Advisory Beginner CVE-2025-58080

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

The name parameter of the modifyHL7App script is written into the HTML error message without sanitisation, so a crafted URL causes arbitrary JavaScript to run in the victim's browser. An attacker who gets a logged-in user to open the link can execute script 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 modifyHL7App 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 prints the user-supplied name value into an HTML error message without encoding it.

Impact

An attacker could run arbitrary JavaScript in a logged-in user's browser via a crafted link, though the response sets X-XSS-Protection and X-Content-Type-Options headers.

What the attacker needed

Victim is logged in; victim opens a crafted link

The fix

The vendor released a patch; the value should be HTML-encoded before being printed into the page.

How it was found

  1. Send a request to the modifyHL7App script with a name value containing markup.
  2. Use a name that does not exist in the database so the error message is shown.
  3. Observe the supplied value reflected unescaped in the HTML response.

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 page puts text from the address bar straight into its HTML, an attacker can include markup that the browser treats as code. Here the 'not found' message echoes the name value unescaped, so a link can run script in the victim's browser. The attacker needs the victim to be logged in and to click the 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.