Description
Glance from 0.7.9 before 0.8.8 contains a stored cross-site scripting vulnerability that allows malicious extension endpoints to inject javascript: URLs via the Widget-Title-URL response header. Attackers controlling an extension endpoint can execute script when users click the widget title, reading dashboard pages through same-origin requests and exfiltrating content.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenStack | glance | 0.7.9 <0.8.8 | — |
References
- https://github.com/glanceapp/glance/security/advisories/GHSA-96x7-3hwp-rcfc
- https://github.com/glanceapp/glance/security/advisories/GHSA-f2c4-p935-ffpj
- https://github.com/glanceapp/glance/commit/e19081cfa029edbe16b1354ffe03076a8cdf0244
- https://github.com/glanceapp/glance/blob/v0.8.7/internal/glance/widget-extension.go#L151-L152
- https://github.com/glanceapp/glance/blob/v0.8.7/internal/glance/templates/widget-base.html#L5
- https://github.com/glanceapp/glance/releases/tag/v0.8.8
- https://www.vulncheck.com/advisories/glance-0.7.9-before-0.8.8-stored-xss-via-widget-title-url-header