CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-27116

Vikunja HTML Injection: When a 'Filter' Becomes a Phishing Hook

Alon Barad
Alon Barad
Software Engineer

Feb 26, 2026·7 min read·55 visits

Executive Summary (TL;DR)

Vikunja < 2.0.0 improperly handles the `filter` URL parameter when initializing the TipTap text editor. By passing a raw string to the editor's `setContent` method, the application inadvertently triggers HTML parsing. This allows attackers to inject specific HTML tags (like `<a>`, `<svg>`, `<h1>`), bypassing some sanitization, to conduct high-confidence phishing attacks or content spoofing.

A Reflected HTML Injection vulnerability in the Vikunja task management platform allows attackers to inject arbitrary HTML tags into the application's DOM via the filter parameter. By exploiting the way the TipTap editor parses string content, attackers can craft convincing phishing scenarios or redirect users to malicious sites, all under the guise of a trusted application URL.

The Hook: Organizing Tasks and Phishing Campaigns

Vikunja is the darling of the self-hosted productivity world. It’s slick, it’s written in Go, and it promises to organize your life without selling your soul to a SaaS giant. But in versions prior to 2.0.0, it also offered a feature nobody asked for: a built-in platform for hosting high-fidelity phishing campaigns directly inside your own dashboard.

The vulnerability lies in a classic disconnect between modern frontend frameworks and the underlying libraries they abstract. We often assume that using a framework like Vue.js protects us from the sins of the past—like Reflected XSS or HTML Injection. Usually, it does. But when you start integrating rich text editors, you enter the Wild West of DOM manipulation. In this case, the Projects module allowed users to filter tasks via a URL parameter. Convenient? Yes. Safe? Absolutely not.

What makes CVE-2026-27116 interesting isn't that it's a complex buffer overflow or a heap grooming masterpiece. It's a logic error in how data is handed off to TipTap, a wrapper around the ProseMirror editor. The developer treated user input like a simple string, but the library treated it like a browser innerHTML assignment. This mismatch turns a simple 'search filter' into a canvas for attackers to paint whatever reality they want your users to see.

The Flaw: The 'Magic' of setContent()

To understand this bug, you have to understand how TipTap handles content. It’s a powerful editor that tries to be helpful. Too helpful. The core method involved here is editor.commands.setContent(). This function is a bit of a chameleon. If you pass it a structured JSON object (a ProseMirror document node), it renders exactly what you tell it to. It treats text as text, bold as bold, and so on. It is type-strict and safe.

However, if you pass setContent() a raw string, TipTap assumes you are lazy and tries to do the heavy lifting for you. It invokes a DOMParser to parse that string as HTML. It’s the library equivalent of saying, "Oh, you gave me a blob of text? Let me just run this through the browser's HTML engine and see what happens." This is the root cause: Implicit Type Coercion leads to Implicit HTML Parsing.

In frontend/src/components/input/filter/FilterInput.vue, the code was taking the filter query parameter directly from the URL—unverified, unloved, and unclean—and shoving it straight into setContent(). The developer likely intended for the filter to just populate the text box so the user could see what they were searching for. instead, they built a mechanism that takes ?filter=<h1>Surprise</h1> and actually renders a header tag in the UI. It's like trying to display a license plate number but accidentally letting the driver rewrite the traffic laws.

The Code: From String to Schema

Let's look at the smoking gun. This is the code inside FilterInput.vue responsible for initializing the editor with the filter value. In the vulnerable version, the input is treated as a raw string.

Vulnerable Code:

function setEditorContentFromModelValue(newValue: string | undefined) {
    // ... checks ...
    // 'content' here comes directly from the URL query parameter
    editor.value.commands.setContent(content, {
        emitUpdate: false,
    })
}

When content is a string containing HTML tags, TipTap parses it. The fix involves forcing TipTap to treat the input as a specific node type—specifically, a paragraph of text. By constructing a ProseMirror JSON object manually, the developer removes ambiguity. The editor no longer has to guess if the input is HTML; it is explicitly told, "This is a text node. Render it literally."

The Fix (Commit a42b4f37bde58596a3b69482cd5a67641a94f62d):

// Use JSON content format instead of a plain string to prevent
// TipTap from parsing the value as HTML
editor.value.commands.setContent(content
    ? {
        type: 'doc',
        content: [{
            type: 'paragraph',
            content: [{type: 'text', text: content}],
        }],
    }
    : '', {emitUpdate: false})

Notice the structure. We are manually building the Document Object Model (DOM) tree structure in JSON. { type: 'text', text: content }. Now, if content is <b>bold</b>, the editor renders the literal characters < b > rather than making the text bold.

The Exploit: Social Engineering with Style

So, we have HTML injection. "But wait," you say, "TipTap sanitizes input! You can't just inject <script> tags!" You are correct. If you try to inject <script>alert(1)</script>, TipTap's sanitizer (usually based on the Schema) will likely strip it out. We aren't getting a low-effort XSS here. But we don't need JavaScript to ruin someone's day.

We have HTML Injection. We can inject <a> tags, header tags (<h1>), and dangerously, <svg> tags (depending on the schema configuration). This allows for Content Spoofing. An attacker can craft a link to a legitimate Vikunja instance that, when clicked, renders a fake UI overlay.

The Attack Scenario:

  1. Craft the URL: The attacker constructs a URL. https://tasks.corp.com/projects/1?filter=<h3>Session+Expired</h3><a+href='https://evil.com/login'>Click+here+to+re-authenticate</a>.
  2. The Delivery: Send this link to the CEO via Slack. "Hey, the project board is acting up, can you check this link?"
  3. The Trap: The CEO clicks. The page loads. The TipTap editor parses the filter. Instead of seeing the text Session Expired in the input box, they see a rendered Header and a clickable link that looks native to the application styling.

Because the link is hosted on the trusted domain (tasks.corp.com), the victim's guard is down. This is effectively a legitimate-looking defacement that only exists for that specific user in that specific moment. It’s perfect for credential harvesting.

The Impact: Why 'Medium' Severity is Misleading

CVSS gives this a 6.1. It calls it 'Medium'. In the sterile world of vulnerability scoring, that makes sense. It requires user interaction (UI:R), and the scope change (S:C) is limited because we aren't popping full shells or stealing cookies directly via JS (yet). But in the real world, this is a high-risk vector for initial access.

Consider the context: Vikunja is a productivity tool. It contains sensitive project data, deadlines, and potentially API keys or secrets in task descriptions. If an attacker can successfully phish a user via this method, they gain valid credentials. From there, they can pivot to data exfiltration or internal sabotage.

Furthermore, while <script> is blocked by default, sanitizers are notoriously difficult to get right. If there is any allowed tag attribute that accepts a javascript: pseudo-protocol (like a lax href on an anchor tag) or an event handler that slips through the ProseMirror schema, this elevates instantly from HTML Injection to full Reflected XSS. Even without JS, the ability to fundamentally alter the visual trust of the application page is powerful. It breaks the 'What You See Is What You Get' contract of the web.

The Fix: Explicit Typing Saves Lives

The remediation here is straightforward, as seen in the patch analysis. If you are running Vikunja self-hosted, stop what you are doing and pull the 2.0.0 container image. The update fundamentally changes the data flow for the filter component.

For developers reading this, the lesson is broader than just Vikunja or TipTap. Never rely on implicit parsing of user input. If an API accepts a string or an object, and the string path triggers a parser (Markdown, HTML, XML), you are walking into a minefield. Always choose the structured, typed path.

If you cannot update for some reason (maybe you really love living on the edge), you could attempt to block the attack at the WAF level by filtering query parameters containing HTML tags (<, >), but that's a game of whack-a-mole you will eventually lose. The only true fix is the code change: force the editor to treat the input as a text node, rendering the HTML tags as harmless strings rather than executable DOM elements.

Official Patches

VikunjaGitHub Commit fixing the issue

Fix Analysis (1)

Technical Appendix

CVSS Score
6.1/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected Systems

Vikunja (Self-hosted)Vikunja Frontend

Affected Versions Detail

Product
Affected Versions
Fixed Version
Vikunja
Vikunja
< 2.0.02.0.0
AttributeDetail
CWE IDCWE-79
Attack VectorNetwork
CVSS Score6.1 (Medium)
ImpactContent Spoofing / Phishing
VulnerabilityReflected HTML Injection
ComponentFilterInput.vue / TipTap Editor

MITRE ATT&CK Mapping

T1189Drive-by Compromise
Initial Access
T1566Phishing
Initial Access
T1204User Execution
Execution
CWE-79
Cross-site Scripting

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Known Exploits & Detection

N/AExploit involves crafting a URL with HTML tags in the 'filter' query parameter.
NucleiDetection Template Available

Vulnerability Timeline

Vulnerability Disclosed (GHSA)
2026-02-25
CVE-2026-27116 Assigned
2026-02-25
Patch Released (v2.0.0)
2026-02-25

References & Sources

  • [1]GitHub Advisory
  • [2]Vikunja 2.0.0 Release Notes

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•2 days ago•CVE-2026-58254
6.5

CVE-2026-58254: Authorization Bypass in NATS Server Message Tracing for Leaf Node Connections

NATS Server prior to versions 2.12.8 and 2.14.3 contains an incorrect authorization vulnerability (CWE-863) in its message tracing subsystem. When evaluating whether a connection is permitted to publish trace events to a destination subject specified in the Nats-Trace-Dest header, the server only checks standard client permissions and omits permission checks for leaf node connections. This allows a connected leaf node operator with restricted publishing privileges to emit internal trace events to unauthorized subjects and suppress standard message delivery using the Nats-Trace-Only header.

Alon Barad
Alon Barad
11 views•10 min read
•2 days ago•CVE-2026-63341
7.5

CVE-2026-63341: Unauthenticated Denial of Service via Unbounded Topic Depth in Aedes MQTT Broker

CVE-2026-63341 is a high-severity Denial of Service (DoS) vulnerability in the Aedes MQTT broker for Node.js affecting all versions prior to 1.1.1. The flaw stems from missing input validation on the hierarchical depth of incoming MQTT topic strings before they are passed to the underlying topic-matching engine, qlobber. Because qlobber enforces a hardcoded limit of 100 topic levels and throws a synchronous exception when this threshold is exceeded, an attacker can send a single MQTT packet containing 101 or more forward-slash-separated levels to trigger an uncaught exception that immediately terminates the Node.js broker process.

Alon Barad
Alon Barad
16 views•12 min read
•2 days ago•CVE-2026-61725
6.1

CVE-2026-61725: Path Traversal and Arbitrary File Overwrite in sevenz-rust2

CVE-2026-61725 is a path traversal vulnerability (CWE-22) in the sevenz-rust2 Cargo package prior to version 0.21.1. The vulnerability occurs because the decompression utility fails to validate or sanitize archive entry filenames before joining them with the destination directory path via std::path::Path::join. An attacker who supplies a crafted 7z archive containing parent directory traversal sequences or absolute paths can write or overwrite arbitrary files on the host filesystem with the privileges of the extracting process.

Alon Barad
Alon Barad
6 views•12 min read
•2 days ago•CVE-2026-77309
8.8

CVE-2026-77309: Unauthenticated Remote Code Execution in NASA-AMMOS AIT-GUI via Incomplete File Cleanup and Path Traversal

CVE-2026-77309 (GHSA-jrjx-9jjw-747m) is a high-severity unauthenticated remote code execution vulnerability affecting NASA-AMMOS AIT-GUI versions 1.0.0 through 2.5.0. The flaw results from chaining an incomplete file cleanup error in the telemetry query endpoint (/tlm/query) with a directory traversal flaw in the script execution endpoint (/script/run). An attacker on an adjacent network can stage arbitrary Python statements into a static file on disk and execute that file under the privileges of the AIT-GUI web server process.

Amit Schendel
Amit Schendel
16 views•10 min read
•2 days ago•CVE-2026-77332
2.3

CVE-2026-77332: Surfaced-Memory Envelope Injection and Stored Prompt Injection in memtomem-stm

A vulnerability classified under CWE-116 (Improper Encoding or Escaping of Output) exists in memtomem-stm versions 0.1.0 through 0.1.33. The software acts as a Model Context Protocol (MCP) short-term memory proxy gateway for AI agent architectures. When surfacing retrieved memories and scratchpad items into downstream Large Language Model (LLM) context envelopes, the SurfacingFormatter component fails to properly sanitize untrusted memory attributes. An attacker with the ability to plant untrusted content into the agent's long-term or working memory store can inject arbitrary structural delimiters, close the <surfaced-memories> XML boundary prematurely, visually obscure instructions using Unicode bidirectional overrides, and execute stored prompt injection attacks against downstream LLM agents.

Alon Barad
Alon Barad
19 views•10 min read
•2 days ago•CVE-2026-77331
2.0

CVE-2026-77331: Race Condition and Session State Corruption in memtomem-stm

CVE-2026-77331 (GHSA-72jh-722p-rqr3) is a concurrency and session-state synchronization vulnerability in memtomem-stm, a short-term memory proxy gateway for AI agents. In versions 0.1.2 prior to 0.1.34, concurrent Model Context Protocol (MCP) Remote Procedure Call (RPC) failures or mid-flight task cancellations can initiate duplicate reconnect loops and permit dirty or cancelled transport sessions to be reused. This deficiency results in session-state integrity loss and local service degradation.

Amit Schendel
Amit Schendel
8 views•9 min read