製品・ソフトウェアに関する情報
FreeScoutにおけるクロスサイトスクリプティングの脆弱性
Title FreeScoutにおけるクロスサイトスクリプティングの脆弱性
Summary

FreeScoutは無料のセルフホステッドヘルプデスクおよび共有メールボックスです。バージョン1.8.213以前のFreeScoutのapp/Misc/Helper.php内のlinkify()関数は、メール本文内のプレーンテキストURLをHTMLアンカータグに変換する際にURL内の二重引用符(")をエスケープしません。HTMLPurifier(getCleanBody()を介して最初に呼び出されます)はテキストノード内のリテラルの"文字を保持します。linkify()はその後、これらの"文字を含むURLをエスケープされていないhref="..."属性内にラップし、href属性を破壊して任意のHTML属性を注入してしまいます。この問題はバージョン1.8.213で修正されました。

Possible impacts 当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 21, 2026, midnight
Registration Date April 24, 2026, 11:41 a.m.
Last Update April 24, 2026, 11:41 a.m.
CVSS3.0 : 警告
Score 6.1
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected System
FreeScout
FreeScout 1.8.213 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年04月24日]
  掲載
April 24, 2026, 11:41 a.m.

NVD Vulnerability Information
CVE-2026-40565
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.

Publication Date April 22, 2026, 1:16 a.m.
Registration Date April 25, 2026, 4:03 a.m.
Last Update April 23, 2026, 2:34 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:freescout:freescout:*:*:*:*:*:*:*:* 1.8.213
Related information, measures and tools
Common Vulnerabilities List