Description
diaspora* before 0.10.0 contains an HTML injection vulnerability in Notifier#invite that allows authenticated users to inject HTML or markdown into invitation emails through unescaped profile names. Attackers can set profile first or last names containing raw HTML, links, or images so invitation emails sent from the pod render spoofed content in recipients' mail clients.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| diaspora | diaspora* | < 0.10.0 | 0.10.0 |
References
- https://github.com/diaspora/diaspora/commit/3a3b35636905f5d09d8eff356c0ba0b70c4a24d4 patch
- diaspora* v0.10.0 Release Notes release-notes
- https://github.com/diaspora/diaspora/blob/v0.9.1.0/app/mailers/notifier.rb#L35-L51 technical-description
- VulnCheck Advisory: diaspora* before 0.10.0 HTML Injection via Inviter Name in Invitation Emails third-party-advisory