PMail 2.5.0 through 2.9.8 Stored XSS via /api/email/send HTML Body
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 13, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 13, 2026
Description
PMail 2.5.0 through 2.9.8 contains a stored cross-site scripting vulnerability that allows authenticated users to inject scripts by sending unsanitized HTML through /api/email/send. Attackers can embed event-handler payloads like img onerror that execute when administrators view the message, enabling privileged API calls such as password changes for account takeover.
| Product | Versions |
|---|---|
| PMail Jinnrry | 2.5.0 through 2.9.8 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://vul.yulun.ac.cn/20261027/pmail/Third-Party Advisory
- https://github.com/Jinnrry/PMail/issues/371Issue Tracker
- https://github.com/Jinnrry/PMail/blob/d6815e481c72dc142ebfa478456f4a0e6c069097/server/controllers/email/send.go#L144-L184Technical Details
- https://github.com/Jinnrry/PMail/blob/d6815e481c72dc142ebfa478456f4a0e6c069097/server/services/detail/detail.go#L20-L29Technical Details
- https://github.com/Jinnrry/PMail/blob/d6815e481c72dc142ebfa478456f4a0e6c069097/fe/src/views/EmailDetailView.vue#L52Technical Details
- VulnCheck Advisory: PMail 2.5.0 through 2.9.8 Stored XSS via /api/email/send HTML BodyThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.