CVE-2026-107393

FreeScout: Stored HTML Injection in Administrator Alert Emails via Spoofed CF-Connecting-IP Header

Published Oct 8, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
FreeScout is a self-hosted help desk and shared mailbox. Prior to 1.8.235, when APP_CLOUDFLARE_IS_USED is enabled, FreeScout trusts an unvalidated CF-Connecting-IP header during failed login attempts and stores the spoofed value in the activity log. LogsMonitor inserts the value into an administrator alert email without HTML escaping, allowing injected HTML to execute when an administrator opens the email. This issue is fixed in version 1.8.235.

Analysis

AI-generated

Technical impact

FreeScout, a self‑hosted help desk platform, stores the CF‑Connecting‑IP header from failed login attempts in an activity log when the APP_CLOUDFLARE_IS_USED setting is enabled. The stored value is then inserted into administrator alert emails without escaping HTML. This flaw allows an attacker who can forge the CF‑Connecting‑IP header to inject arbitrary HTML or JavaScript, which will execute whenever an administrator opens the alert email, leading to a client‑side compromise or phishing. The weakness is an example of HTML injection (CWE‑79).

Affected Systems

The vulnerability affects FreeScout deployments using the freescout-help-desk product, versions before 1.8.235. All installations that enable APP_CLOUDFLARE_IS_USED and rely on the default trust of the CF‑Connecting‑IP header are impacted.

Risk and Exploitability

The vulnerability has a CVSS score of 6.1, indicating moderate severity. EPSS information is not available and the issue is not listed in the CISA KEV catalog. The attack can be carried out by sending a request with a forged CF‑Connecting‑IP header to trigger a failed login, after which the attacker can trigger an administrator alert. Given that the flaw is a stored XSS triggered via email, exploitation requires that the targeted administrator opens the compromised email, which is a realistic scenario in many organizations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FreeScout to version 1.8.235 or later to apply the vendor fix.
  • If upgrading is not immediately possible, disable the use of the CF‑Connecting‑IP header by setting APP_CLOUDFLARE_IS_USED to false or implement server‑side validation to reject or sanitize the header before logging.
  • Modify the logs–monitor email generation logic to escape all dynamic content before inserting it into emails, ensuring that injected HTML cannot be executed.

Generated by OpenCVE AI on October 8, 2026 at 21:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Freescout Helpdesk
Freescout Helpdesk freescout
Vendors & Products Freescout Helpdesk
Freescout Helpdesk freescout
Type Values Removed Values Added
Description FreeScout is a self-hosted help desk and shared mailbox. Prior to 1.8.235, when APP_CLOUDFLARE_IS_USED is enabled, FreeScout trusts an unvalidated CF-Connecting-IP header during failed login attempts and stores the spoofed value in the activity log. LogsMonitor inserts the value into an administrator alert email without HTML escaping, allowing injected HTML to execute when an administrator opens the email. This issue is fixed in version 1.8.235.
Title FreeScout: Stored HTML Injection in Administrator Alert Emails via Spoofed CF-Connecting-IP Header
Weaknesses CWE-116
CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 14, 2026, 1:16 AM
Reserved
Oct 7, 2026, 9:07 PM
Status
Awaiting Analysis
Published
Oct 8, 2026, 8:17 PM
Modified
Oct 14, 2026, 2:16 AM