CVE-2026-40497: FreeScout is a free self-hosted help desk and shared mailbox
CVE-2026-40497 is a high-severity flaw (CVSS 8.1) affecting freescout. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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'`,
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 85%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-04-21 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40497?
freescout: upgrade to 1.8.213. Exact commands for each OS are on this page.
Is CVE-2026-40497 being exploited?
CVE-2026-40497 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40497 affect?
CVE-2026-40497 affects freescout. Severity is high (CVSS 8.1). 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
How urgent is CVE-2026-40497?
Priority 32/100. High severity
Related CVEs
- CVE-2026-40565 MEDIUM 6.1 UPGRADE FreeScout is a free self-hosted help desk and shared mailbox
- CVE-2026-40498 CRITICAL 9.8 UPGRADE FreeScout is a free self-hosted help desk and shared mailbox
- CVE-2026-40496 CRITICAL 9.1 UPGRADE FreeScout is a free self-hosted help desk and shared mailbox