Cross-site scripting in cgm-remote-monitor - #VU170535
Published: November 25, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary JavaScript in a dashboard viewer's browser under the Nightscout origin, potentially accessing data or performing actions with the viewer's permissions.
The vulnerability exists due to improper neutralization of stored HTML in the treatment write and rendering paths when the dashboard renders unsanitized fields from WebSocket submissions as tooltip HTML. A remote user can store malicious content in a treatment record to execute JavaScript when a viewer hovers over the treatment.