
Proof-of-concept for CVE-2025-69993: Cross-Site Scripting in Leaflet's bindPopup() method. Includes advisory, impact analysis, and a demo Angular application to reproduce the vulnerability.
Leaflet <= 1.9.4 中存在跨站脚本攻击(XSS)漏洞。 bindPopup() 方法将用户提供的输入直接渲染为原始 HTML 而不进行清理,从而允许任意 JavaScript 代码执行。
bindPopup())cd leaflet-xss-poc
npm install
npm start
打开 http://localhost:4200/,在「描述」字段中输入 ``,然后点击「添加标记」。