Description
Vikunja 2.2.0 before 2.7.1 contains an HTML injection vulnerability in CreateConversationalHeader in pkg/notifications/mail.go that interpolates display names and task and project titles raw into email anchors. Authenticated users can craft titles or display names that close the anchor and inject phishing links into task-comment and task-mention notification emails sent to project members.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| go-vikunja | vikunja | 2.2.0 – < 2.7.1 | 2.7.1 |
References
- GitHub Security Advisory (GHSA-rp33-8f2m-hm6j) vendor-advisory
- https://github.com/go-vikunja/vikunja/commit/18ff05932632c65dbc90a88118597989c6af4bf9 patch
- https://github.com/go-vikunja/vikunja/blob/v2.7.0/pkg/notifications/mail.go#L132-L148 technical-description
- vikunja v2.7.1 Release Notes release-notes
- https://github.com/go-vikunja/vikunja product
- VulnCheck Advisory: Vikunja 2.2.0 before 2.7.1 HTML Injection via Notification Email Header third-party-advisory