Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.qameta.allure/allure-generator
  4. ›
  5. CVE-2026-55847

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

June 19, 2026

The ansi.js Handlebars helper in allure-generator passes user-controlled statusMessage and statusTrace values from test result files through the ansi-to-html library and wraps the output in Handlebars SafeString without HTML escaping. Since ansi-to-html does not escape HTML entities by default, an attacker who can influence test result content (e.g., via crafted JUnit XML failure messages) can inject arbitrary JavaScript that executes when anyone views the generated Allure report.

References

  • github.com/advisories/GHSA-gx93-m64w-5m6h
  • github.com/allure-framework/allure2/security/advisories/GHSA-gx93-m64w-5m6h
  • nvd.nist.gov/vuln/detail/CVE-2026-55847

Code Behaviors & Features

Detect and mitigate CVE-2026-55847 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.39.0

Fixed versions

  • 2.39.0

Solution

Upgrade to version 2.39.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/io.qameta.allure/allure-generator/CVE-2026-55847.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:44 +0000.