---
id: CVE-2026-55847
title: >-
  Allure 2 is the version 2.x branch of Allure Report, a multi-language test
  reporting tool
summary: >-
  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 statusTra…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: allure-framework
product: allure2
affected:
  - allure2 < 2.39.0
  - allure-generator < 2.39.0
patched:
  - 'io.qameta.allure:allure-generator 2.39.0'
published: '2026-09-14'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T20:16:48.180'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-55847'
references:
  - url: >-
      https://github.com/allure-framework/allure2/commit/1c5693933f519e64379f1a14eb3c7beeba7bc7cd
    label: security-advisories@github.com
  - url: 'https://github.com/allure-framework/allure2/pull/3296'
    label: security-advisories@github.com
  - url: 'https://github.com/allure-framework/allure2/releases/tag/2.39.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/allure-framework/allure2/security/advisories/GHSA-gx93-m64w-5m6h
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-gx93-m64w-5m6h'
tags:
  - nvd
  - cve.org
  - ghsa
  - maven
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-14T19:20:49.067025Z'
ecosystem: maven
ingestedAt: '2026-06-22T13:35:24.335Z'
epss: 0.00245
epssPercentile: 0.16053
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-55847)

Affected packages:

- `io.qameta.allure:allure-generator <= 2.38.1`

Patched in:

- `io.qameta.allure:allure-generator 2.39.0`

Source: https://github.com/advisories/GHSA-gx93-m64w-5m6h
