Vulnerability

CVE-2026-55847

mediumCVSS 3.1 6.1Published 14 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Allure 2 is the version 2.x branch of Allure Report, a multi-language test reporting tool. Prior to 2.39.0, the ansi.js helper at allure-generator/src/main/javascript/helpers/ansi.js passes attacker-influenced statusMessage and statusTrace values through AnsiToHtml without HTML escaping and wraps the result in Handlebars SafeString, disabling template auto-escaping in allure-generator/src/main/javascript/blocks/status-details/status-details.hbs. JunitXmlPlugin.java can populate these fields directly from crafted JUnit XML failure messages and traces, and equivalent input flows exist in the TRX, xUnit XML, xctest, and Allure1 and Allure2 plugins. When a user views the affected status details, unescaped markup executes arbitrary JavaScript in the report origin, which can expose report data and compromise sessions associated with that origin. This is an incomplete-fix case because PR 3271 escaped link helpers but did not address the ANSI helper. This issue is fixed in version 2.39.0.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /allure-framework/allure2/commit/1c5693933f519e64379f1a14eb…
  • github.com /allure-framework/allure2/pull/3296
  • github.com /allure-framework/allure2/releases/tag/2.39.0
  • github.com /allure-framework/allure2/security/advisories/GHSA-gx93-m64…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning