Home / freescout-help-desk / freescout / CVE-2026-40497
CVE-2026-40497: is it exploited, and which versions of freescout-help-desk freescout are affected and fixed?
CVE-2026-40497 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, 16:09 UTC). Affected: freescout < 1.8.213 (CVE record by GitHub_M). Fixed in 1.8.213 (NVD). Severity: High (8.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-40497?
FreeScout Vulnerable to CSS Injection via Stored Style Tag in Mailbox Signature (CSRF Token Exfiltration)
FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, FreeScout's `Helper::stripDangerousTags()` removes `<script>`, `<form>`, `<iframe>`, `<object>` but does NOT strip `<style>` tags. The mailbox signature field is saved via POST /mailbox/settings/{id} and later rendered unescaped via `{!! $conversation->getSignatureProcessed([], true) !!}` in conversation views. CSP allows `style-src * 'self' 'unsafe-inline'`, so injected inline styles execute freely. An attacker with access to mailbox settings (admin or agent with mailbox permission) can inject CSS attribute selectors to exfiltrate the CSRF token of any agent/admin who views a conversation in that mailbox. With the CSRF token, the attacker can perform any state-changing action as the victim (create admin accounts, change email/password, etc.) — privilege escalation from agent to admin. This is the result of an incomplete fix of GHSA-jqjf-f566-485j. That advisory reported XSS via mailbox signature. The fix applied `Helper::stripDangerousTags()` to the signature before saving. However, `stripDangerousTags()` only removes `script`, `form`, `iframe`, and `object` tags — it does NOT strip `<style>` tags, leaving CSS injection possible. Version 1.8.213 contains an updated fix.
From the CVE record by GitHub_M, last updated April 21, 2026, 13:25 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.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| freescout | freescout | before 1.8.213 | application |
NVD analysis (status Analyzed), last modified November 11, 2026, 23:10 UTC.
How severe is CVE-2026-40497?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/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-40497 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, April 21, 2026)
- EPSS
- 0.25% probability of exploitation activity in the next 30 days, percentile 17.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-fh99-wr77-pxq3 x_refsource_CONFIRM
- https://github.com/freescout-help-desk/freescout/commit/5aa8d633216f65995e80a7d4a921b784acc94df4 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 13, 2026
- Published
- April 21, 2026, 01:45 UTC
- CVE record updated
- April 21, 2026, 13:25 UTC by GitHub_M
- NVD
- Analyzed, last modified November 11, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 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-40497
Is CVE-2026-40497 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of freescout-help-desk freescout are affected by CVE-2026-40497?
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-40497?
1.8.213, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-40497?
High (8.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40497?
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.