mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-06 16:04:20 +00:00
DownloadManager.openDownloadedFileWeb had no caller. Its helpers (HtmlUtils.chromePdfViewer / safariPdfViewer / openFileViewer) built a same-origin blob page that loaded pdf.js 4.0.379 (affected by CVE-2024-4367) and pdfobject from cdnjs without SRI, and interpolated the attachment file name unescaped into <title> and JavaScript string literals. Remove it, together with the now unused DeviceInfoPlugin dependency of DownloadManager. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>