{"id":"CVE-2026-40565","published":"2026-04-21T15:52:39Z","modified":"2026-04-21T19:48:40Z","title":"FreeScout has Stored XSS / CSS Injection via linkify() — Unescaped URL in Anchor href","vendor":"freescout-help-desk","product":"freescout","tier":"tail","description":{"text":"FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, FreeScout's linkify() function in app/Misc/Helper.php converts plain-text URLs in email bodies into HTML anchor tags without escaping double-quote characters (\") in the URL. HTMLPurifier (called first via getCleanBody()) preserves literal \" characters in text nodes. linkify() then wraps URLs including those \" chars inside an unescaped href=\"...\" attribute, breaking out of the href and injecting arbitrary HTML attributes. Version 1.8.213 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00207,"percentile":0.10971,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-49pm-xwqj-vwjp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/freescout-help-desk/freescout/commit/265379b3ae343f06846adc0aa8510643d1eac2df","tags":["x_refsource_MISC"]},{"url":"https://github.com/freescout-help-desk/freescout/releases/tag/1.8.213","tags":["x_refsource_MISC"]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":2.19},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"freescout-help-desk","affectedVersions":[{"vendor":"freescout-help-desk","product":"freescout","versions":["< 1.8.213"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-21T17:40:53.650733Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-24141","exploited":false,"provenance":"source"}}