CVE-2024-34697 Freescout vulnerable to Stored HTML Injection in Editing Received Emails
Unauthenticated attackers can inject malicious HTML into received emails, enabling data exfiltration or defacement in FreeScout help desk.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-34697?
CVE-2024-34697 is a high-severity cross-site scripting vulnerability in freescout-helpdesk freescout, published on 13 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
FreeScout is a free, self-hosted help desk and shared mailbox. A stored HTML Injection vulnerability has been identified in the Email Receival Module of the Freescout Application. The vulnerability allows attackers to inject malicious HTML content into emails sent to the application's mailbox. This vulnerability arises from improper handling of HTML content within incoming emails, allowing attackers to embed malicious HTML code in the context of the application's domain. Unauthenticated attackers can exploit this vulnerability to inject malicious HTML content into emails. This could lead to various attacks such as form hijacking, application defacement, or data exfiltration via CSS injection. Although unauthenticated attackers are limited to HTML injection, the consequences can still be severe. Version 1.8.139 implements strict input validation and sanitization mechanisms to ensure that any HTML content received via emails is properly sanitized to prevent malicious HTML injections.
Which versions are affected by CVE-2024-34697?
It affects 1 product.
Products include Freescout Freescout.
How do I fix CVE-2024-34697?
No fix has been published for CVE-2024-34697 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-34697 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-34697 exists.
Other vulnerabilities in freescout-helpdesk freescout
- CVE-2026-28289 FreeScout 1.8.206 Patch Bypass for CVE-2026-27636 via Zero-Width Space Character Leads to Remote Code Execution
- CVE-2026-27637 FreeScout's Predictable Authentication Token Enables Account Takeover
- CVE-2026-32754 FreeScout: Stored XSS via Unescaped Email Template Rendering ({!! $thread->body !!})
- CVE-2024-29185 FreeScout OS Command Injection vulnerability
- CVE-2026-40498 FreeScout has Authentication Bypass and Information Disclosure in SystemController via /system/cron
Sources
Also known as GHSA-985r-6qfc-hg8m.