CVE-2026-55839 — Vulnerability in io.kestra:kestra — CVE Details
Kestra vulnerable to stored XSS via custom Markdown [[link]] attribute injection
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.43%). Schedule for your next planned update.
Does your project use an affected io.kestra:kestra version?
Paste your pom.xml to check it for CVE-2026-55839 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
Kestra’s Markdown renderer supports a custom [[link ...]] syntax that is converted into a custom HTML element. The custom Markdown parser allows attacker-controlled attributes to be rendered into the generated element without proper allowlisting or sanitization.
As a result, a user who can create or edit Markdown-rendered content, such as a Flow description, can inject JavaScript event-handler attributes. When another user views or interacts with the affected Markdown-rendered UI element, the JavaScript executes in that user’s browser.
This is not a normal raw-HTML Markdown payload such as <img onerror=...>. The payload uses Kestra’s custom [[link]] Markdown syntax, and the dangerous HTML attributes are introduced by Kestra’s own Markdown plugin.
Affected version
Tested on Kestra 1.3.22.
Affected components
Source review identified the issue in the custom Markdown link renderer:
ui/src/utils/markdown_plugins/link.tsui/src/utils/markdown.tsui/src/components/layout/Markdown.vue
The vulnerable code path renders parsed attributes directly into an HTML string:
const attrs = token.attrs
? token.attrs.map(([name, value]) => `${name}="${value}"`).join("")
: "";
return `<router-md ${attrs}>`;
The implementation does not safely restrict attribute names or values before inserting the generated HTML into the DOM.
Proof of concept
Create or edit a Flow with the following YAML:
id: markdown_xss_flow_desc
namespace: company.team
description: |
[[link x="y" style="position:fixed;inset:0;z-index:9999;background:rgba(255,0,0,0.05)" onmouseover="alert(document.domain)"]]
tasks:
- id: hello
type: io.kestra.plugin.core.log.Log
message: hello
Save the Flow.
Then navigate to the Flow list:
http://localhost:8080/ui/main/flows
Click the description/info icon next to the malicious Flow.
Actual result
The browser executes JavaScript from the Flow description. In the PoC, an alert is triggered showing the current domain.
Expected result
Markdown-rendered Flow descriptions should not be able to inject arbitrary JavaScript event handlers or attacker-controlled HTML attributes into the page.
The custom [[link]] syntax should only generate safe attributes required for the intended router-link behavior.
Security impact
An attacker with permission to create or update a Flow in a namespace can store a malicious Markdown payload in the Flow description. When another Kestra user views the Flow list and opens the Flow description/info panel, attacker-controlled JavaScript executes in the victim’s browser.
Depending on the victim’s privileges, this may allow the attacker to perform actions as the victim within the Kestra UI, access data visible to the victim, or pivot into more privileged namespace or administrative functionality.
This crosses a security boundary in multi-user Kestra deployments where Flow authors are less privileged than administrators or other operators who review workflows.
Suggested remediation
The custom Markdown link plugin should not render arbitrary attributes into raw HTML.
Recommended fixes:
- Allowlist only the exact attributes required by the custom router link component.
- Reject all attributes beginning with
on, such asonclick,onmouseover, andonfocus. - Reject or sanitize dangerous attributes such as
style. - HTML-escape all attribute values before rendering.
- Ensure attributes are joined safely with spaces.
- Sanitize the final rendered Markdown output before passing it to
v-html. - Add regression tests for custom
[[link]]payloads containing event-handler attributes.
Minimal payload
[[link x="y" style="position:fixed;inset:0;z-index:9999;background:rgba(255,0,0,0.05)" onmouseover="alert(document.domain)"]]
Evidence collected
- The payload was stored in a Flow description.
- The Flow list displayed the malicious Flow.
- Opening the Flow description/info panel triggered JavaScript execution in the browser.
- The payload did not require execution of the Flow.
- The payload used Kestra’s custom
[[link]]syntax rather than raw HTML.
Advisory Timeline
- First published August 18, 2026 (100 days ago).
- Last revised September 10, 2026 — 22 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 1.3.24 for io.kestra:kestra -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| io.kestra:kestra Maven · Affected: 0.10.0, 0.10.1, 0.11.0, 0.11.1 (+482 more) | 1.3.24 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
References
Frequently Asked Questions
- What is CVE-2026-55839?
- Kestra vulnerable to stored XSS via custom Markdown [[link]] attribute injection. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
- How do I check if my project is affected by CVE-2026-55839?
- CVE-2026-55839 affects io.kestra:kestra. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-55839 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 29% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-61689HIGH
XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes
- CVE-2026-73247HIGH
Kestra: SSRF via Pebble http() function allows unauthenticated access to internal services & cloud metadata
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API