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.
Get the CyboWatch SIEM platform, hosting, and 24×7 SOC analysts. Send an enquiry, or call or email us to get started.