CVE-2026-129168
PMail 2.9.1 through 2.9.8 contains a stored cross-site scripting …
PMail 2.9.1 through 2.9.8 contains a stored cross-site scripting vulnerability because the /attachments/{id}/{cid} endpoint returns email attachments verbatim with the sender-supplied Content-Type after cid: references are rewritten into attachment links. Unauthenticated SMTP senders can email a text/html attachment and a page-covering cid link, so a recipient who clicks the message runs script in their webmail session to change passwords, including the administrator's.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Jinnrry/PMail/blob/d6815e481c72dc142ebfa478456f4a0e6c069097/server/controllers/
- github.com/Jinnrry/PMail/blob/d6815e481c72dc142ebfa478456f4a0e6c069097/server/dto/parsemai
- github.com/Jinnrry/PMail/blob/d6815e481c72dc142ebfa478456f4a0e6c069097/server/services/det
- github.com/Jinnrry/PMail/issues/371
- vul.yulun.ac.cn/20261027/pmail/
- www.vulncheck.com/advisories/pmail-2.9.1-through-2.9.8-stored-xss-via-inline-html-attachme
- github.com/Jinnrry/PMail/commit/cdde761da40f2a98971901a6599d8da0ebcb2bb1
- github.com/Jinnrry/PMail/pull/374
- nvd.nist.gov/vuln/detail/CVE-2026-129168
- cve.org/CVERecord?id=CVE-2026-129168
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.