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

Leafletのバージョン1.9.4まで(含む)には、bindPopup()メソッドを介したクロスサイトスクリプティング(XSS)の脆弱性があります。このメソッドはユーザーから提供された入力をサニタイズせずに生のHTMLとしてレンダリングするため、攻撃者はイベントハンドラー属性(例えば、img src=x onerror="alert('XSS')")を通じて任意のJavaScriptコードを注入できます。被害者が影響を受けるマップのポップアップを表示すると、悪意のあるスクリプトが被害者のブラウザセッションのコンテキストで実行されます。

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

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

Publication Date April 14, 2026, midnight
Registration Date April 21, 2026, 10:43 a.m.
Last Update April 21, 2026, 10:43 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
Leaflet
Leaflet 1.9.4 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年04月21日]
  掲載
April 21, 2026, 10:43 a.m.

NVD Vulnerability Information
CVE-2025-69993
Summary

Leaflet versions up to and including 1.9.4 are vulnerable to Cross-Site Scripting (XSS) via the bindPopup() method. This method renders user-supplied input as raw HTML without sanitization, allowing attackers to inject arbitrary JavaScript code through event handler attributes (e.g., <img src=x onerror="alert('XSS')">). When a victim views an affected map popup, the malicious script executes in the context of the victim's browser session.

Publication Date April 15, 2026, 12:16 a.m.
Registration Date April 15, 2026, 11:39 a.m.
Last Update April 22, 2026, 3:16 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:leafletjs:leaflet:*:*:*:*:*:node.js:*:* 1.9.4
Related information, measures and tools
Common Vulnerabilities List