mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-06 16:04:20 +00:00
Links clicked inside a previewed .eml (attacker-controlled content) were opened with window.open(url, '_blank') whatever their scheme, keeping window.opener: the opened page could redirect the webmail tab (reverse tabnabbing). Only follow http(s), mailto and the application's own EML preview route, and open external web links with noopener,noreferrer. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>