CVE-2026-40565: FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, FreeScout's linkify() function…

CVE-2026-40565 · Severity: medium · CVSS 6.1 · Published 2026-04-21

FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, FreeScout's linkify() function in app/Misc/Helper.php converts plain-text URLs in email bodies into HTML anchor tags without escaping double-quote characters (") in the URL. HTMLPurifier (called first via getCleanBody()) preserves literal " characters in text nodes. linkify() then wraps URLs including those " chars inside an unescaped href="..." attribute, breaking out of the href and injecting arbitrary HTML attributes. Version 1.8.213 fixes the issue.

Technologies: FreeScout. Vendors: FreeScout.

Quick answers

Is CVE-2026-40565 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-40565 being exploited in the wild.
How severe is CVE-2026-40565?
Medium severity, with a CVSS score of 6.1, published 21 April 2026.
Which products and versions are affected?
FreeScout. The advisory does not name versions.
Is there a fix for CVE-2026-40565?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2026-40565?
Check whether you run FreeScout. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • FreeScout

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.