Technical impact
The vulnerability is a stored cross‑site scripting flaw located in PostfixAdmin up to version 4.0.5. The flaw resides in the handling of the TOTP exception description field. An authenticated mailbox user can create a TOTP exception containing an unescaped script. When a global administrator later views totp‑exceptions.php, the malicious script runs within the administrator’s browser session. Because the page already contains a valid CSRF token, the script can issue requests that are authenticated as the administrator, allowing the attacker to perform privileged actions such as modifying user settings or creating new accounts. The primary impact is privilege escalation via client‑side script execution and CSRF exploitation.
Affected Systems
Affected systems are installations of PostfixAdmin through version 4.0.5. The product is provided by the PostfixAdmin Project and is commonly deployed on Linux servers for managing mailboxes. All releases up to and including 4.0.5 that include the totp‑exceptions.php and totp‑exceptions.tpl templates are vulnerable.
Risk and Exploitability
The CVSS score of 5.1 indicates moderate risk. The EPSS score is not available, so the likelihood of exploitation cannot be quantified, but the flaw requires an attacker to possess a legitimate mailbox account to inject the malicious description. After injection, any subsequent administrator who visits the TOTP exceptions page will trigger the script, giving the attacker a window to execute authenticated requests. The vulnerability is not listed in the CISA KEV catalog, yet exposure to privileged accounts makes it a noteworthy threat for environments relying on PostfixAdmin for mailbox administration.