CVE-2026-137609 in Krazo Extensionsinfo

Summary

by MITRE • 11/27/2026

In Eclipse Krazo Extensions up to and including 3.0.0, AsciiDocViewEngine passes MVC model values to Asciidoctor as document attributes without encoding them. Asciidoctor substitutes attribute references after it escapes HTML special characters and before it processes inline macros. As a result, attacker-controlled model values end up in the output as raw HTML and can inject AsciiDoc inline macros. This allows cross-site scripting in applications that render untrusted data through AsciiDoc views.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/27/2026

The vulnerability identified in Eclipse Krazo Extensions versions 3.0.0 and earlier involves a critical input validation failure within the AsciiDocViewEngine component, specifically concerning how MVC model values are processed before being passed to the Asciidoctor rendering engine. The core technical flaw lies in the lack of proper encoding or sanitization when these dynamic data values are converted into document attributes for the AsciiDoc processor. In a typical web application architecture using this framework, user-supplied input is often stored in an MVC model and subsequently rendered via views. When the AsciiDocViewEngine retrieves these values to populate the Asciidoctor context, it treats them as raw strings without applying necessary escaping mechanisms that would neutralize special characters or malicious payloads embedded within the data.

The operational impact of this flaw stems from the specific processing order employed by the Asciidoctor engine itself. The processor is designed to substitute attribute references after it has already escaped HTML special characters but before it processes inline macros. This sequence creates a dangerous window where attacker-controlled input, which may contain raw HTML or JavaScript code, bypasses initial escaping because it was passed as an unencoded document attribute. Consequently, when the engine substitutes these attributes into the final output, the malicious content is rendered directly in its original form rather than being escaped to safe text. This allows for the injection of arbitrary AsciiDoc inline macros and raw HTML structures that are executed by the victim's web browser upon rendering the view.

This vulnerability effectively enables Cross-Site Scripting attacks against applications that utilize Eclipse Krazo Extensions to render untrusted data through AsciiDoc views. An attacker who can influence the MVC model values, such as through form submissions or URL parameters, can inject scripts that execute in the context of the victim's session. This could lead to severe security consequences including session hijacking, credential theft, defacement of the application interface, or redirection to malicious sites. The severity is heightened by the fact that the injection occurs during the view rendering phase, making it difficult for client-side content security policies alone to mitigate without strict configuration, and server-side filtering must be robust enough to catch complex macro injections before they reach the renderer.

From a classification perspective, this issue aligns with CWE-79: Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. More specifically, it relates to CWE-830: Inclusion of Functionality from Untrusted Control Sphere if one considers how unvalidated input influences the rendering logic, and potentially CWE-20: Improper Input Validation regarding the failure to sanitize data before processing. In terms of adversary tactics, this vulnerability supports techniques associated with ATT&CK T1189: Drive-by Client Side Execution or T1059: Command and Scripting Interpreter if the injected macros are used to execute further commands within the browser environment.

To mitigate this risk, developers must ensure that all user-supplied data passed to AsciiDoc document attributes is strictly sanitized or encoded before being processed by the Asciidoctor engine. This involves implementing robust input validation routines that reject or escape special characters such as angle brackets, quotes, and ampersands depending on the context of their usage within the AsciiDoc syntax. Additionally, upgrading to a patched version of Eclipse Krazo Extensions where this encoding issue has been resolved is essential for existing deployments. Application developers should also consider implementing Content Security Policy headers to limit the execution of inline scripts as an additional layer of defense, although relying solely on CSP is not sufficient given that macro injection can sometimes bypass standard script blocking rules if not configured with strict nonce or hash-based policies.

Responsible

Eclipse

Reservation

11/26/2026

Disclosure

11/27/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!