---
id: "CVE-2026-85742"
page: "https://infrastack.ai/live/CVE-2026-85742"
kind: "vulnerability"
aliases: ["CVE-2026-85742"]
title: "FreeScout: failed-login email HTML runs script in admin's browser"
severity: "high"
cvss: 7.5
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["freescout", "help-desk", "package", "php", "self-hosted"]
not_affected_if: ["default-config", "modal-only-use"]
published_at: "2026-11-06T18:18:21+00:00"
first_seen_at: "2026-11-06T18:44:09+00:00"
updated_at: "2026-11-06T18:45:13+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85742", "first_seen_at": "2026-11-06T18:44:09+00:00"}]
exploit_sources: []
---

# FreeScout: failed-login email HTML runs script in admin's browser

Link for people: https://infrastack.ai/live/CVE-2026-85742 (this .md is for agents)

FreeScout's administrator job-details page renders stored alert-job payloads after a sanitizer that keeps event-handler attributes, so HTML from a failed-login email value can execute. An attacker who can trigger a failed login can run JavaScript in an administrator's session and perform administrator actions on the same origin.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the FreeScout version in use; versions below `1.8.230` are affected.
- Confirm whether Logs Monitoring is enabled and whether the failed_jobs table holds SendAlert jobs.

## Fix

- FreeScout: move to `1.8.230` or later.

## Timeline

- 2026-11-06T18:44:09+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-85742

## Documents

- [advisory] Vendor advisory: github.com https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-2g42-f97q-973x
- [fix] Patch: github.com https://github.com/freescout-help-desk/freescout/commit/3f508d41a01bd754ef78a7fab38743f141bd1714
- [fix] Release notes: github.com https://github.com/freescout-help-desk/freescout/releases/tag/1.8.230

## From the sources

FreeScout is a self-hosted help desk and shared mailbox. Prior to 1.8.230, a pre-authenticated attacker can place HTML in a failed-login email value that is copied through monitored user activity into a queued SendAlert job. If alert delivery fails, the serialized payload is stored in failed_jobs and the administrator job-details endpoint renders it after a blacklist sanitizer that leaves executable event-handler attributes. When an administrator opens /system/ajax-html/job_details/{id} as a top-level page, the raw fragment lacks the normal layout policy and attacker-controlled JavaScript can perform same-origin administrator actions. Logs Monitoring for users, a failed alert email job, queue failure storage, and top-level administrator interaction are all required; the normal modal path is not affected in the tested configuration. This issue is fixed in version 1.8.230.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
