Description
diaspora* before 0.10.0 contains a cross-site scripting vulnerability that allows unauthenticated attackers to inject iframe attributes via the maxheight parameter of the GET /oembed endpoint. Attackers can supply a single quote in maxheight to inject an onload handler into the returned html, executing script in third-party oEmbed consumers that embed it unsanitized.
Metrics
CVSS 3.1 4.7/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| diaspora | diaspora | < 0.10.0 |
References
- https://github.com/diaspora/diaspora
- https://github.com/diaspora/diaspora/blob/v0.9.1.0/app/controllers/posts_controller.rb#L35-L42
- https://github.com/diaspora/diaspora/blob/v0.9.1.0/app/helpers/posts_helper.rb#L22-L27
- https://github.com/diaspora/diaspora/commit/f3a7465aa2ec48a3057937c0c4c8d9aa48fba2d3
- https://github.com/diaspora/diaspora/releases/tag/v0.10.0
- https://www.vulncheck.com/advisories/diaspora-before-0.10.0-xss-via-maxheight-in-oembed-endpoint
Timeline
- Published
- Nov 19, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Deferred