Cross-Site Scripting (XSS) in io.qameta.allure:allure-generator
Summary
Cross-site scripting in io.qameta.allure:allure-generator (CVE-2026-55847). Risk of unauthorized operations or information disclosure. Exploitable via ansi.js. Mitigation: upgrade to 2.39.0 or later.
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-55847 has been found in io.qameta.allure:allure-generator.
Attackers can target a specific entry point like ansi.js over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 6.1/10.
What to do: upgrade io.qameta.allure:allure-generator to 2.39.0 or later.
If unsure, ask your IT team or search "io.qameta.allure:allure-generator CVE-2026-55847" on the vendor's site.
CVE-2026-55847 (io.qameta.allure:allure-generator) — CWE-79 / CVSS v3 6.1
Attack vector: remote (network-reachable) / unauthenticated
Attack surface: ansi.js / statusMessage / statusTrace / SafeString
Patched: 2.39.0 — apply immediately
Workaround: set escapeForHtml: true
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Cross-site scripting (XSS) (CWE-79) exists in io.qameta.allure:allure-generator. Attackers reach the vulnerable code path via ansi.js without authentication.
Check the vendor advisory for the affected versions of io.qameta.allure:allure-generator. Attack surface: ansi.js / statusMessage / statusTrace / SafeString.
Severity: Medium (CVSS 6.1/10). Risk of unauthorized operations or information disclosure.
Update to 2.39.0.
Workaround: set escapeForHtml: true
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで io.qameta.allure:allure-generator を使っているサービスとバージョンを洗い出す。
-
2
Apply temporary workaroundmitigate
set escapeForHtml: trueパッチが適用されるまでの応急処置として、set escapeForHtml: true を実施。回避策の副作用 (機能低下) を確認した上で。
-
3
Apply patchpatch
Upgrade io.qameta.allure:allure-generator to 2.39.0ステージング環境で 2.39.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| mavenio.qameta.allure:allure-generator |
< 2.39.0→ 2.39.0 |
2.39.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-55847 allure No fixed version in this record
Original description The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com