CVE-2024-34697 Freescout vulnerable to Stored HTML Injection in Editing Received Emails

High 7.6 Published Updated

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.

Weakness: CWE-79, CWE-74

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.

Sources

Also known as GHSA-985r-6qfc-hg8m.

Is CVE-2024-34697 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free