ADVISORIES

GitHub Advisory Database

GHSA-m4g2-2q66-vc9v

Vikunja Vulnerable to XSS Via Task Preview

High No fix available CVE-2026-25935GO-2026-4480

Details

Summary

The task preview component creates a unparented div. The div's innerHtml is set to the unescaped description of the task

Details

In the TaskGlanceTooltip.vue it temporarily creates a div and sets the innerHtml to the description here. Since there is no escaping on either the server or client side, a malicious user can share a project, create a malicious task, and cause an XSS on hover.

PoC

  • Create a project
  • Create a task with any description
  • Use the api to update the task with a description containing unescaped HTML (ex: <img src=x onerror="alert(localStorage.getItem('token'))">
  • Share the project with any permission level
  • Send malicious project to user and ask them to view task

Impact

Any user on an instance can cause an XSS on another

Affected packages

EcosystemPackageAffected versions
Gocode.vikunja.io/api
All versions up to and including 0.24.6

References