Every CVE Search/ Get API key

CVE-2026-55839

Kestra: Stored XSS via custom Markdown [[link]] attribute injection

8.7 HighFix available

Kestra is an open-source, event-driven orchestration platform. Prior to 1.3.24, Kestra's custom Markdown parser in ui/src/utils/markdown_plugins/link.ts allows a user with permission to create or update a Flow description to inject JavaScript event-handler attributes through the custom [[link]] syntax, causing stored cross-site scripting when another user opens the description or information panel in the Flow list. This issue is fixed in version 1.3.24.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
None

Exploit likelihood

0.43%Up 0.1 points since Aug 19, 2026
90%50%10%1%

What each source reports

CVE List Score used 8.7

Kestra: Stored XSS via custom Markdown [[link]] attribute injection

Kestra is an open-source, event-driven orchestration platform. Prior to 1.3.24, Kestra's custom Markdown parser in ui/src/utils/markdown_plugins/link.ts allows a user with permission to create or update a Flow description to inject JavaScript event-handler attributes through the custom [[link]] syntax, causing stored cross-site scripting when another user opens the description or information panel in the Flow list. This issue is fixed in version 1.3.24.

Record
CVE-2026-55839
CVSS 3.1
8.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2026-60976 8.7

Kestra is an open-source, event-driven orchestration platform. Prior to 1.3.24, Kestra's custom Markdown parser in ui/src/utils/markdown_plugins/link.ts allows a user with permission to create or update a Flow description to inject JavaScript event-handler attributes through the custom [[link]] syntax, causing stored cross-site scripting when another user opens the description or information panel in the Flow list. This issue is fixed in version 1.3.24.

Record
EUVD-2026-60976
CVSS 3.1
8.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-34pm-923j-7wf8 8.7

Kestra vulnerable to stored XSS via custom Markdown [[link]] attribute injection

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.ts
  • ui/src/utils/markdown.ts
  • ui/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:

  1. Allowlist only the exact attributes required by the custom router link component.
  2. Reject all attributes beginning with on, such as onclick, onmouseover, and onfocus.
  3. Reject or sanitize dangerous attributes such as style.
  4. HTML-escape all attribute values before rendering.
  5. Ensure attributes are joined safely with spaces.
  6. Sanitize the final rendered Markdown output before passing it to v-html.
  7. 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…
Record
GHSA-34pm-923j-7wf8
CVSS 3.1
8.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02
NVD 8.7

Kestra is an open-source, event-driven orchestration platform. Prior to 1.3.24, Kestra's custom Markdown parser in ui/src/utils/markdown_plugins/link.ts allows a user with permission to create or update a Flow description to inject JavaScript event-handler attributes through the custom [[link]] syntax, causing stored cross-site scripting when another user opens the description or information panel in the Flow list. This issue is fixed in version 1.3.24.

Record
CVE-2026-55839
CVSS 3.1
8.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 8.7

Kestra: Stored XSS via custom Markdown [[link]] attribute injection

Kestra is an open-source, event-driven orchestration platform. Prior to 1.3.24, Kestra's custom Markdown parser in ui/src/utils/markdown_plugins/link.ts allows a user with permission to create or update a Flow description to inject JavaScript event-handler attributes through the custom [[link]] syntax, causing stored cross-site scripting when another user opens the description or information panel in the Flow list. This issue is fixed in version 1.3.24.

Record
CVE-2026-55839
CVSS 3.1
8.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Weakness
CWE-79
Updated
2026-11-05
OSVGHSA-34pm-923j-7wf8 8.7

Kestra vulnerable to stored XSS via custom Markdown [[link]] attribute injection

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.ts
  • ui/src/utils/markdown.ts
  • ui/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:

  1. Allowlist only the exact attributes required by the custom router link component.
  2. Reject all attributes beginning with on, such as onclick, onmouseover, and onfocus.
  3. Reject or sanitize dangerous attributes such as style.
  4. HTML-escape all attribute values before rendering.
  5. Ensure attributes are joined safely with spaces.
  6. Sanitize the final rendered Markdown output before passing it to v-html.
  7. 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…
Record
GHSA-34pm-923j-7wf8
CVSS 3.1
8.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
io.kestra:kestra
Maven
before 1.3.24
1.3.24
io.kestra:kestra
Maven
before 1.3.24, plus listed versions
0.10.00.10.10.11.00.11.10.11.2
Show 45 moreShow less
0.12.00.12.10.12.20.12.30.12.40.12.50.12.60.12.70.13.00.13.10.13.100.13.20.13.30.13.40.13.50.13.60.13.70.13.80.13.90.14.00.14.10.14.20.14.30.14.40.15.00.15.10.15.100.15.110.15.120.15.130.15.140.15.150.15.160.15.170.15.180.15.190.15.20.15.200.15.210.15.220.15.230.15.240.15.250.15.260.15.27
1.3.24

History

History
RecordedChangedSources
factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-55839 is a high vulnerability (CVSS 8.7) in Kestra-io Kestra, published August 18, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. Fixed in io.kestra:kestra 1.3.24.

References

This page doesn't list everything

Left out here: 436 versions and the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open