Home / freescout-help-desk / freescout / CVE-2026-40568
CVE-2026-40568: is it exploited, and which versions of freescout-help-desk freescout are affected and fixed?
CVE-2026-40568 is a cross-site scripting (XSS) vulnerability in freescout-help-desk freescout. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: freescout < 1.8.213 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-40568?
FreeScout Vulnerable to XSS via Mailbox Signature Due to Incomplete HTML Sanitization
FreeScout is a free self-hosted help desk and shared mailbox. Versions prior to 1.8.213 have a stored cross-site scripting (XSS) vulnerability in the mailbox signature feature. The sanitization function `Helper::stripDangerousTags()` (`app/Misc/Helper.php:568`) uses an incomplete blocklist of only four HTML tags (`script`, `form`, `iframe`, `object`) and does not remove event handler attributes. When a mailbox signature is saved via `MailboxesController::updateSave()` (`app/Http/Controllers/MailboxesController.php:267`), HTML elements such as `<img>`, `<svg>`, and `<details>` with event handler attributes like `onerror` and `onload` pass through sanitization unchanged and are stored in the database. The signature is then rendered as raw HTML via the Blade `{!! !!}` tag in `editor_bottom_toolbar.blade.php:6` and re-inserted into the visible DOM by jQuery `.html()` at `main.js:1789-1790`, triggering the injected event handlers. Any authenticated user with the `ACCESS_PERM_SIGNATURE` (`sig`) permission on a mailbox -- a delegatable, non-admin permission -- can inject arbitrary HTML and JavaScript into the mailbox signature. The payload fires automatically, with no victim interaction, whenever any agent or administrator opens any conversation in the affected mailbox. This enables session hijacking (under CSP bypass conditions such as IE11 or module-weakened CSP), phishing overlays that work in all browsers regardless of CSP, and chaining to admin-level actions including email exfiltration via mass assignment and self-propagating worm behavior across all mailboxes. Version 1.8.213 fixes the issue.
From the CVE record by GitHub_M, last updated April 21, 2026, 20:37 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| freescout-help-desk | freescout | < 1.8.213 |
As the CVE record by GitHub_M states it, last updated April 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-40568?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40568 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, April 21, 2026)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 24.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-116 Improper Encoding or Escaping of Output
Where are the vendor advisories and references?
- https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-w2f5-6wcv-677r x_refsource_CONFIRM
- https://github.com/freescout-help-desk/freescout/commit/1d83e1cffb0bf8d109625313530b36b0f5910b3f x_refsource_MISC
- https://github.com/freescout-help-desk/freescout/releases/tag/1.8.213 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 14, 2026
- Published
- April 21, 2026, 16:08 UTC
- CVE record updated
- April 21, 2026, 20:37 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 10:45 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect freescout?
- Nov 6, 2026CVE-2026-85742 freescout-help-desk freescout: cross-site scripting (XSS)
- Nov 6, 2026CVE-2026-103985 freescout-help-desk freescout: privilege escalation (improper privilege management)
- Nov 6, 2026CVE-2026-103984 freescout-help-desk freescout: missing authorization
- Nov 6, 2026CVE-2026-85743 freescout-help-desk freescout: server-side request forgery (SSRF)
- Nov 6, 2026CVE-2026-85744 freescout-help-desk freescout: incorrect authorization
- Nov 6, 2026CVE-2026-62850 freescout-help-desk freescout: authentication bypass (improper authentication)
- Nov 6, 2026CVE-2026-62852 freescout-help-desk freescout: information disclosure
- Nov 6, 2026CVE-2026-62855 freescout-help-desk freescout: path traversal
Questions about CVE-2026-40568
Is CVE-2026-40568 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of freescout-help-desk freescout are affected by CVE-2026-40568?
freescout < 1.8.213, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-40568?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-40568?
High (8.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40568?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.