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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.6
- **CVSS:** 7.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.59% (percentile 42, 2026-11-26)
- **CWE:** CWE-74
- **Published:** 2024-05-13T15:45:26.741Z
- **Modified:** 2026-06-17T07:33:53.887Z

## Who should check

- Anyone running freescout-helpdesk freescout \< 1.8.139

## 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.

## Affected and fixed versions

- freescout-helpdesk freescout: \< 1.8.139 (cvelist)

## Mitigation

- Upgrade freescout to 1.8.139 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-34697. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-34697.md
Affected: freescout-helpdesk freescout < 1.8.139
Fixed in: freescout-helpdesk freescout 1.8.139

Steps:
1. Search this machine and project for freescout-helpdesk freescout: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-34697 being exploited?

There is no confirmed exploitation: CVE-2024-34697 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.59% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-34697?

High: CVSS 7.6 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2024-34697?

freescout-helpdesk freescout \< 1.8.139.

### Is there a fix for CVE-2024-34697?

Yes. Fixed in freescout-helpdesk freescout 1.8.139. Upgrade freescout to 1.8.139 or later.

### How do I check if I'm affected by CVE-2024-34697?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/freescout-helpdesk/freescout/security/advisories/GHSA-985r-6qfc-hg8m>
- patch: <https://github.com/freescout-helpdesk/freescout/commit/99a4b4b4e153c82e273e549b9efbf6db4a2d8328>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-34697>

HTML: <https://flawdb.com/CVE-2024-34697> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-34697>
