Files
tmail-flutter/core/lib/utils/html
Benoit TELLIERandClaude Opus 5.5 368f912005 fix(previewer): open EML links with noopener and a scheme allow-list
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>
2026-09-25 10:55:06 +02:00
..