Description
diaspora* before 0.10.0 contains a stored cross-site scripting vulnerability that allows authenticated users to inject script by crafting og:video:secure_url values. Attackers can post links to pages whose allowlisted-prefix video URL contains a quote and onload handler, executing script in readers' sessions when they click the video preview.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| diaspora | diaspora | < 0.10.0 | 0.10.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | diaspora-installer | No fix yet | — |
| Ubuntu 26.04 LTS | diaspora-installer | No fix yet | — |
| Ubuntu 20.04 LTS | diaspora-installer | No fix yet | — |
| Ubuntu 18.04 LTS | diaspora-installer | No fix yet | — |
| Ubuntu 16.04 LTS | diaspora-installer | No fix yet | — |
References
- diaspora v0.10.0 Release Notes release-notes vendor-advisory
- https://github.com/diaspora/diaspora/commit/5fd6378a401f669f0c68fcf9ff689e0e0872d226 patch
- https://github.com/diaspora/diaspora/blob/v0.9.1.0/app/assets/javascripts/app/views/content_view.js#L187-L191 technical-description
- https://github.com/diaspora/diaspora/blob/v0.9.1.0/config/initializers/open_graph_reader.rb#L12-L25 technical-description
- https://github.com/diaspora/diaspora product
- VulnCheck Advisory: diaspora* before 0.10.0 Stored XSS via OpenGraph og:video:secure_url third-party-advisory