CVEfocus › CVE database › CVE-2026-55847

CVE-2026-55847Allure: Stored XSS via unescaped ANSI helper in Allure report status message/trace…

CVSS 6.1 MediumEPSS 0.3% (higher than 20% of CVEs)Published 2026-09-14Updated 2026-09-14Assigner: GitHub_M

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.

CWE-79

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
3Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10allureFix pendingUBUNTU-CVE-2026-55847
Ubuntu 26.04allureUnder investigationUBUNTU-CVE-2026-55847
Ubuntu 24.04allureUnder investigationUBUNTU-CVE-2026-55847
Ubuntu 22.04allureUnder investigationUBUNTU-CVE-2026-55847
Ubuntu 20.04allureFix pendingUBUNTU-CVE-2026-55847
Ubuntu 18.04allureFix pendingUBUNTU-CVE-2026-55847
Maven libraryio.qameta.allure:allure-generatorFixed2.39.0GHSA-gx93-m64w-5m6h

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.