← Vulnerability feed

Vulnerability record · CVE-2026-40565 · published 21 April 2026

CVE-2026-40565: Freescout cross-site scripting vulnerability

Freescout · Freescout

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.

6.1 CVSS 3.1 Medium EPSS 0.33% · top 76.8% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score
0.33%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-40565 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-27637Freescout vulnerabilityFreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Prior to version 1.8.206, FreeScout's `TokenAuth` middleware uses …EPSS 0.84%9.3CVE-2026-32754Freescout cross-site scripting vulnerabilityFreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Versions 1.8.208 and below are vulnerable to Stored Cross-Site Scr…EPSS 0.62%9.0CVE-2024-29185Freescout os command injection vulnerabilityFreeScout is a self-hosted help desk and shared mailbox. Versions prior to 1.8.128 are vulnerable to OS Command Injection in the /public/tools.php so…EPSS 1.7%8.9CVE-2026-40498Freescout information exposure vulnerabilityFreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, an unauthenticated attacker can access diagnostic and system …EPSS 0.73%8.8CVE-2026-40496Freescout vulnerabilityFreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, attachment download tokens are generated using a weak and pre…EPSS 0.55%8.8CVE-2026-27636Freescout unrestricted file upload vulnerabilityFreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Prior to version 1.8.206, FreeScout's file upload restriction list…EPSS 2.1%8.6CVE-2025-58163Freescout deserialization of untrusted data vulnerabilityFreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Versions 1.8.185 and earlier contain a deserialization of untruste…EPSS 0.72%8.6CVE-2025-54366Freescout deserialization of untrusted data vulnerabilityFreeScout is a lightweight free open source help desk and shared inbox built with PHP (Laravel framework). In versions 1.8.185 and below, there is a …EPSS 0.98%

Source: NIST National Vulnerability Database (record CVE-2026-40565), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.