CVE-2026-55847Allure: Stored XSS via unescaped ANSI helper in Allure report status message/trace…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | allure | Fix pending | UBUNTU-CVE-2026-55847 | |
| Ubuntu 26.04 | allure | Under investigation | UBUNTU-CVE-2026-55847 | |
| Ubuntu 24.04 | allure | Under investigation | UBUNTU-CVE-2026-55847 | |
| Ubuntu 22.04 | allure | Under investigation | UBUNTU-CVE-2026-55847 | |
| Ubuntu 20.04 | allure | Fix pending | UBUNTU-CVE-2026-55847 | |
| Ubuntu 18.04 | allure | Fix pending | UBUNTU-CVE-2026-55847 | |
| Maven library | io.qameta.allure:allure-generator | Fixed | 2.39.0 | GHSA-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.
- allure-framework allure2: affected: < 2.39.0
- io.qameta.allure allure-generator: affected: < 2.39.0
References
- https://github.com/allure-framework/allure2/security/advisories/GHSA-gx93-m64w-5m6h
- https://github.com/allure-framework/allure2/pull/3296
- https://github.com/allure-framework/allure2/commit/1c5693933f519e64379f1a14eb3c7beeba7bc7cd
- https://github.com/allure-framework/allure2/releases/tag/2.39.0
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.