PMG: XSS in download of text/html parts of quarantined mails
Affected packages
pmg-api
Details
The /json/quarantine/download API used information from the Content-Type header when sending a mail part for downloading. For text/html part this resulted in the contents being rendered inline in the same origin as the API, allowing for XSS. The affected route is not directly reachable by interaction with the GUI alone, so the victim would need to click on a link, after having logged in.
The issue was found internally.
Fixed in
- pmg-api >= 9.1.6
This page reproduces the official Proxmox forum post (opens in a new tab). The original is authoritative.