SIGN IN SIGN UP
koala73 / worldmonitor UNCLAIMED

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

0 0 160 TypeScript

refactor(settings-window.ts): dom xss vulnerability due to unescaped html in template literal (#2023)

User-controlled data from `localStorage` (`key` and `panel.name`) is interpolated directly into an HTML string and assigned via `innerHTML` without sanitization. This creates a DOM-based Cross-Site Scripting (XSS) vulnerability. The `escapeHtml` utility is explicitly imported at the top of the file but mistakenly left unused.

Affected files: settings-window.ts

Co-authored-by: Elie Habib <elie.habib@gmail.com>
T
Tang Vu committed
cc2da96efb4fc903b5e2ef358473c46a14454f1f
Parent: 3c2e652
Committed by GitHub <noreply@github.com> on 5/26/2026, 6:42:19 PM
No diff available for this commit.