{"id":"CVE-2026-40565","aliases":["CVE-2026-40565"],"related":[],"kind":"vulnerability","state":"published","title":"FreeScout has Stored XSS / CSS Injection via linkify() — Unescaped URL in Anchor href","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"FreeScout es una mesa de ayuda y un buzón compartido gratuito y autoalojado. Antes de la versión 1.8.213, la función linkify() de FreeScout en app/Misc/Helper.PHP convierte las URLs de texto plano en los cuerpos de los correos electrónicos en etiquetas de anclaje HTML sin escapar los caracteres de comillas dobles (“) en la URL. HTMLPurifier (llamado primero a través de getCleanBody()) preserva los caracteres literales ” en los nodos de texto. linkify() luego envuelve las URLs, incluyendo esos caracteres ”, dentro de un atributo href=’...’ sin escapar, saliendo del href e inyectando atributos HTML arbitrarios. La versión 1.8.213 corrige el problema.","source":"nvd"}],"published":"2026-04-21T15:52:39.118Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 1.8.213","status":"affected"}],"vendor":"freescout-help-desk","product":"freescout","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.8.213"}],"vendor":"freescout","product":"freescout","cpe":"cpe:2.3:a:freescout:freescout:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-49pm-xwqj-vwjp","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/freescout-help-desk/freescout/commit/265379b3ae343f06846adc0aa8510643d1eac2df","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/freescout-help-desk/freescout/releases/tag/1.8.213","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-04-21T17:40:53.650Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40565","url":"https://www.cve.org/CVERecord?id=CVE-2026-40565","licence":"CVE Terms of Use","modified":"2026-04-21T19:48:40.654Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40565","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40565","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.110Z","epss":{"score":0.00207,"percentile":0.11366,"date":"2026-12-02T12:00:21.000Z"}}