Commit Graph
3 Commits
Author SHA1 Message Date
Rodrigo Cortés Cano 0a894b0876 [4.x] Fix stored XSS in TOTP-exception and application-password lists (#1186)
Stored TOTP-exception and application-password descriptions bypass PFASmarty escaping on maintained 4.x, allowing mailbox-controlled markup to execute when a global administrator views the lists. Both controllers
now use the existing recursive HTML escaping so stored descriptions render as text, including records already in the database.

thanks @TrapoSAMA
2026-11-01 16:17:55 +00:00
Rodrigo Cortés Cano 0985ce9d90 Show configured TOTP status and reset action in 4.x (#1167)
After TOTP activation, the 4.x template hides the form with `visibility:hidden` but keeps its height, leaving the configured notice below a large empty area. 

See also #1166 (master), thanks @TrapoSAMA
2026-10-03 11:27:53 +01:00
Rodrigo Cortés Cano e971465a5a pacrypt - be more tolerant of doveadm output (#1122)
- port the `doveadm pw` stderr and exit-status handling from #1121 to
`postfixadmin_4.0`
- preserve PHP 7.4-compatible syntax and the branch-specific password flow
- add the same portable regression coverage for password generation and verification

See #1119.

thanks @TrapoSAMA
2026-08-26 09:08:48 +01:00