Intel

AIKIDO-2026-10993

marko is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 4 days ago

61

Medium Risk

This Affects:

PYTHONmarko
0.1.0 - 2.2.2
Fixed in 2.2.3
Are you affected? Scan for Free

TL;DR

The default HTMLRenderer converts Markdown links and images through escape_url, which HTML-escapes and percent-encodes destinations but previously left dangerous URI schemes such as javascript:, vbscript:, and data: intact. Untrusted Markdown like [click](javascript:alert(1)) therefore rendered to HTML with executable link targets in the browser. Applications that display user-authored Markdown without a separate HTML sanitizer could expose stored or reflected cross-site scripting when victims interact with the link. The fix detects harmful schemes case-insensitively and replaces them with the safe placeholder #harmful-link.

Who does this affect?

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

Background info

marko is vulnerable to Cross-Site Scripting (XSS) in versions 0.1.0 - 2.2.2.

How to fix this

Upgrade the marko library to the patch version.