REDHAT-BUG-2536859: Medium severity Quarkus Qute template engine vulnerability

Published Sep 17, 2026
·
Updated

A vulnerability in the Quarkus Qute template engine leads to improper output escaping when using the {#eval} section helper. When EvalSectionHelper parses a sub-template, it fails to pass the parent template's Variant (which dictates the content type, such as HTML or JSON). Because Qute's standard escapers (HtmlEscaper, JsonEscaper) require this variant to determine if and how escaping should be applied, they silently bypass the evaluated content. As a result, any untrusted data processed inside an {#eval} block is output as raw, unescaped text.

Affected Software

1 affected component
Quarkus Qute template engine

Event History

Sep 17, 2026
Data Sourced
via Red Hat·09:43 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using Quarkus Qute templates with the {#eval} section helper are exposed when untrusted data is processed inside an evaluated sub-template. The issue is relevant where output escaping depends on the template Variant, including HTML or JSON content.

2

What must an attacker control for exploitation?

An attacker must be able to supply data that is rendered inside a {#eval} block. That data can then be emitted as raw, unescaped text because the evaluated sub-template does not receive the parent template's Variant.

3

How can teams identify potentially affected templates?

Review Qute templates for uses of {#eval} and determine whether values within those blocks can originate from untrusted input. Pay particular attention to templates intended to produce HTML or JSON, where the standard escapers depend on the Variant.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203