FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Versions 1.8.208 and below are vulnerable to Stored Cross-Site Scripting (XSS) through FreeScout's email notification templates. Incoming email bodies are stored in the database without sanitization and rendered unescaped in outgoing email notifications using Blade's raw output syntax {!! $thread->body !!}. An unauthenticated attacker can exploit this vulnerability by simply sending an email, and when opened by any subscribed agent or admin as part of their normal workflow, enabling universal HTML injection (phishing, tracking) and, in vulnerable email clients, JavaScript execution (session hijacking, credential theft, account takeover) affecting all recipients simultaneously. This issue has been fixed in version 1.8.209.
The content of incoming email messages is stored in the database without any sanitization. It is then rendered without escaping in outgoing email notifications using the Blade framework's raw output syntax: {!! $thread->body !!}. An attacker without any authentication sends an email containing a malicious HTML or JavaScript payload. When a subscribed agent or administrator opens the notification during normal work, the malicious code is executed in their email client — if that client supports JavaScript.
An attacker can conduct phishing attacks, user tracking (HTML injection), and in vulnerable email clients also execute JavaScript leading to session theft, credential theft, and complete account takeover. The attack affects all subscribers to the notification simultaneously.
Update FreeScout to version 1.8.209, where the issue has been fixed. The patch is available in the project's GitHub repository (commit 3329379db38a86cf7069b0709061b95a7d38985b) and in the official 1.8.209 release.
FreeScout in versions 1.8.208 and earlier
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NFreescout
APPFreescout< 1.8.209
Related vulnerabilities
FreeScout: bypass zabezpieczeń uploadu pliku prowadzący do RCE
FreeScout: przewidywalny token uwierzytelniający umożliwia przejęcie konta
FreeScout: OS Command Injection umożliwiający przejęcie serwera
FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, attachment download to...
FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, FreeScout's `Helper::s...