Intel

AIKIDO-2026-10493

@kong/markdown is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

66

Medium Risk

This Affects:

JS@kong/markdown
1.0.0 - 1.9.5
Fixed in 1.9.6
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to cross-site scripting (XSS) due to insufficient sanitization of user-controlled content. The rendering logic processes definitions containing embedded HTML without properly filtering dangerous attributes, allowing attacker-supplied markup to execute arbitrary JavaScript in the browser. An attacker able to inject crafted content can trigger script execution, leading to full page takeover in affected contexts.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@kong/markdown is vulnerable to Cross-site Scripting (XSS) in versions 1.0.0 - 1.9.5.

How to fix this

Upgrade the @kong/markdown library to the patch version.