{"cve":"CVE-2026-55847","nvd":{"published":"2026-09-14T18:17:55.990","modified":"2026-09-30T17:43:24.057","status":"Awaiting Analysis","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/allure-framework/allure2/commit/1c5693933f519e64379f1a14eb3c7beeba7bc7cd","https://github.com/allure-framework/allure2/pull/3296","https://github.com/allure-framework/allure2/releases/tag/2.39.0","https://github.com/allure-framework/allure2/security/advisories/GHSA-gx93-m64w-5m6h"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:53:43.293028046+00:00"},"epss":{"cve":"CVE-2026-55847","score":0.00338,"percentile":0.26959,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-gx93-m64w-5m6h","url":"https://osv.dev/vulnerability/GHSA-gx93-m64w-5m6h","summary":"Allure Report: Stored XSS via unescaped ANSI helper in status message/trace rendering","modified":"2026-06-19T21:41:32.737161Z","packages":[{"ecosystem":"Maven","name":"io.qameta.allure:allure-generator","purl":"pkg:maven/io.qameta.allure/allure-generator","ranges":["<2.39.0"],"fixed":["2.39.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}