PostfixAdmin through 4.0.5 Stored XSS via TOTP Exception Description
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 3, 2026
- Updated
- Nov 3, 2026
- Reserved
- Nov 3, 2026
Description
PostfixAdmin through 4.0.5 contains a stored cross-site scripting vulnerability that allows authenticated mailbox users to inject script by creating a TOTP exception with an unescaped description. When a global administrator views totp-exceptions.php, the script runs in the admin session and can issue authenticated admin requests using the page's CSRF token.
| Product | Versions |
|---|---|
| postfixadmin postfixadmin | 4.0.5 and earlier 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
- GitHub Issue #1185Issue Tracker
- https://github.com/postfixadmin/postfixadminProduct Page
- Fix commitPatch
- https://github.com/postfixadmin/postfixadmin/blob/v4.0.5/public/users/totp-exceptions.php#L128Technical Details
- https://github.com/postfixadmin/postfixadmin/blob/v4.0.5/templates/totp-exceptions.tpl#L56Technical Details
- https://github.com/postfixadmin/postfixadmin/pull/1172Technical DetailsPatchIssue Tracker
- https://github.com/postfixadmin/postfixadmin/pull/1186Technical DetailsPatchIssue Tracker
- VulnCheck Advisory: PostfixAdmin through 4.0.5 Stored XSS via TOTP Exception DescriptionThird-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.