{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.8.230"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "3f508d41a01bd754ef78a7fab38743f141bd1714"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "1.8.230",
                "range": [
                  {
                    "fixed": "5ce756de00d024d9616f0961dedec565bd5ffacc"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5ce756de00d024d9616f0961dedec565bd5ffacc"
            },
            {
              "fixed": "3f508d41a01bd754ef78a7fab38743f141bd1714"
            }
          ],
          "repo": "https://github.com/freescout-help-desk/freescout",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2g42-f97q-973x"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85742.json"
  },
  "details": "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.",
  "id": "CVE-2026-85742",
  "modified": "2026-11-14T02:30:34.120041348Z",
  "published": "2026-11-06T17:15:31.851Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/freescout-help-desk/freescout/releases/tag/1.8.230"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85742.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-2g42-f97q-973x"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85742"
    },
    {
      "type": "FIX",
      "url": "https://github.com/freescout-help-desk/freescout/commit/3f508d41a01bd754ef78a7fab38743f141bd1714"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "FreeScout: Conditional stored admin XSS via failed-job details"
}