MedDream PACS Premium modifyTranscript reflected cross-site scripting (XSS) vulnerability
The name parameter of the modifyTranscript script was written into the HTML page without sanitisation, so a crafted URL could inject script into the response. An attacker could send a victim a link that runs arbitrary JavaScript in the victim's browser on the PACS site.
Originally disclosed on Cisco Talos
A reflected cross-site scripting (xss) vulnerability exists in the modifyTranscript functionality of MedDream PACS Premium 7.3.6.870. A specially crafted malicious URL can lead to arbitrary javascript code execution.
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 took the user-supplied name parameter and printed it directly into HTML output without encoding or validation.
Impact
An attacker could run arbitrary JavaScript in a victim's browser session on the PACS server, though the response headers include X-XSS-Protection and X-Frame-Options, which may limit some abuse in supporting browsers.
What the attacker needed
Victim clicks a crafted link; no login needed (pre-authentication)
The fix
The vendor released a patch; the input should be HTML-encoded before being written into the page.
How it was found
- Send a request to the modifyTranscript script with a crafted name parameter.
- The script passes the decoded name into the form-building function.
- The name is printed unescaped into the input value and the error message.
- The browser renders the injected markup and runs the script.
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 a value from the web address is pasted straight into the page that comes back. If that value is code, the browser runs it as if the site itself had written it. Here the name value was placed inside an input field and an error message with no cleaning, so a link could make the victim's browser run the attacker's script.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.