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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
diaspora diaspora
Default version status: unaffected
0 to < 0.10.0affected
pkg:github/diaspora/diasporaReferences
- https://github.com/diaspora/diaspora/releases/tag/v0.10.0 ↗
- https://github.com/diaspora/diaspora/commit/f3a7465aa2ec48a3057937c0c4c8d9aa48fba2d3 ↗
- https://github.com/diaspora/diaspora/blob/v0.9.1.0/app/helpers/posts_helper.rb#L22-L27 ↗
- https://github.com/diaspora/diaspora/blob/v0.9.1.0/app/controllers/posts_controller.rb#L35-L42 ↗
- https://github.com/diaspora/diaspora ↗
- https://www.vulncheck.com/advisories/diaspora-before-0.10.0-xss-via-maxheight-in-oembed-endpoint ↗