Light Code LabsのCaddyにおけるエンコードおよびエスケープに関する脆弱性
| Title |
Light Code LabsのCaddyにおけるエンコードおよびエスケープに関する脆弱性
|
| Summary |
CaddyはデフォルトでTLSを使用する拡張可能なサーバープラットフォームです。バージョン2.11.4以前のCaddyのstripHTMLテンプレート関数は、入力文字列からすべてのHTMLタグを確実に削除できません。img src=x onerror=alert()のような特定の不正なHTMLはタグ除去のロジックを回避し、後でHTMLとしてレンダリングされた場合に危険な内容が出力に残る可能性があります。この脆弱性により、信頼されていない文字列が安全でない方法でレンダリングされる場合にクライアントサイドのXSSが発生する可能性があります。この脆弱性はバージョン2.11.4で修正されました。
|
| Possible impacts |
・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
June 23, 2026, midnight |
| Registration Date |
June 30, 2026, 11:19 a.m. |
| Last Update |
June 30, 2026, 11:19 a.m. |
|
CVSS3.0 : 警告
|
| Score |
4.2
|
| Vector |
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected System
| Light Code Labs |
|
Caddy 2.11.4 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月30日] 掲載 |
June 30, 2026, 11:19 a.m. |
NVD Vulnerability Information
CVE-2026-52846
| Summary |
Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, Caddy’s stripHTML template function cannot reliably remove all HTML tags from input strings. Certain malformed HTML, such as <<>img src=x onerror=alert()>, can bypass the tag-stripping logic, potentially leaving dangerous content in the output if it is later rendered as HTML. This may allow client-side XSS in cases where untrusted strings are rendered unsafely. This vulnerability is fixed in 2.11.4.
|
| Publication Date |
June 24, 2026, 3:18 a.m. |
| Registration Date |
June 27, 2026, 4:14 a.m. |
| Last Update |
June 25, 2026, 10:16 p.m. |
Related information, measures and tools
Common Vulnerabilities List