Please report any suspected security vulnerabilities through GitHub Security Advisories or alternatively through email to glanceapp@duck.com.
Repository navigation
Security: glanceapp/glance
Security
.github/SECURITY.md
-
An attacker-controlled extension endpoint can store a `javascript:` URL in the Glance dashboard by returning it in the `Widget-Title-URL` response header. Glance renders that value into the widget's title-link `href` through `safeURL`, which disables Go's URL sanitizer, so the scheme survives into the DOM. When any authenticated user clicks the widget title, attacker JavaScript runs in the Glance origin and can read and exfiltrate every page the victim is allowed to see — including the `Secret Page` — by issuing authenticated same-origin requests. The `allow-potentially-dangerous-html` switch that users rely on to make extensions safe does **not** cover this sink.GHSA-96x7-3hwp-rcfc published
Nov 7, 2026 by svilenmarkovHigh -
When no `video-url-template` is configured, the `videos` widget uses the feed entry's `<link href>` value verbatim as the video card link and renders it with `safeURL`, which disables URL sanitization. A video feed source that an attacker controls can therefore inject a `javascript:` link, giving the same `javascript:`-scheme XSS as F1. With the default YouTube source this is not attacker-controllable, which is why I am filing it as a **Low / latent** companion to F1 rather than a separately exploitable finding.GHSA-v6q6-26vr-8rc9 published
Nov 7, 2026 by svilenmarkovModerate -
Both page handlers check whether a requested page slug exists **before** they run the authentication check. An unauthenticated attacker can therefore tell real page slugs from non-existent ones by the HTTP status code, which leaks the names of configured pages (including intentionally non-obvious ones) prior to login.GHSA-294x-cjq2-6j5r published
Nov 7, 2026 by svilenmarkovModerate -
Denial of service in the Glance RSS widget: unbounded feed read + quadratic HTML parsing in bundled `golang.org/x/net` (CVE-2026-78661 / GO-2026-6860)GHSA-3jjj-q8fg-pmrq published
Nov 7, 2026 by svilenmarkovLow -
Stored XSS via glance.url Docker label (safeURL bypasses html/template scheme filtering)GHSA-8gc9-3vgm-hfr8 published
Nov 7, 2026 by svilenmarkovModerate -
Stored XSS via extension widget Widget-Title-URL header (safeURL scheme-filter bypass)GHSA-f2c4-p935-ffpj published
Nov 7, 2026 by svilenmarkovModerate -
Unbounded response reads + transparent gzip inflation in widget fetchers allow a decompression-bomb memory-exhaustion DoS from any upstream a widget contacts (e.g. an RSS feed)GHSA-6xqh-r5mm-6rrh published
Nov 7, 2026 by svilenmarkovModerate -
Unauthenticated login requests can cause unbounded memory consumptionGHSA-r225-jhr6-68cc published
Oct 15, 2026 by svilenmarkovHigh
Learn more about advisories related to glanceapp/glance in the GitHub Advisory Database