


Perceptive Security
SOC/SIEM Consultancy

FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, FreeScout's `Helper::stripDangerousTags()` removes `<script>`, `<form>`,…
Published:
20 april 2026 om 22:00:00
Alert date:
21 april 2026 om 07:08:02
Source:
nvd.nist.gov
Web Technologies, Enterprise Applications
FreeScout versions prior to 1.8.213 contain a CSS injection vulnerability in the mailbox signature field. The Helper::stripDangerousTags() function fails to remove <style> tags, allowing attackers with mailbox access to inject malicious CSS. This enables CSRF token exfiltration through CSS attribute selectors when admins or agents view conversations. Attackers can use stolen tokens to perform privilege escalation from agent to admin by creating admin accounts or changing credentials. This vulnerability results from an incomplete fix of a previous XSS issue (GHSA-jqjf-f566-485j).
Technical details
Mitigation steps:
Affected products:
FreeScout
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-40497
https://github.com/freescout-help-desk/freescout/commit/5aa8d633216f65995e80a7d4a921b784acc94df4
https://github.com/freescout-help-desk/freescout/releases/tag/1.8.213
https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-fh99-wr77-pxq3
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
