CVE-2026-55847

Source
https://cve.org/CVERecord?id=CVE-2026-55847
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55847.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-55847
Aliases
Downstream
Published
2026-09-14T17:22:11Z
Modified
2026-09-16T03:46:57Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Allure: Stored XSS via unescaped ANSI helper in Allure report status message/trace rendering
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55847.json"
}
References

Affected packages

Git / github.com/allure-framework/allure2

Affected ranges

Type
GIT
Repo
https://github.com/allure-framework/allure2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.39.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.0-BETA1
2.0-BETA3
2.0-BETA4
2.0-BETA5
2.0-BETA6
2.0-BETA7
2.0-BETA8
2.0-M1
2.0.0
2.0.1
2.1.0
2.1.1
2.10.0
2.11.0
2.12.0
2.12.1
2.13.0
2.13.1
2.13.10
2.13.2
2.13.3
2.13.4
2.13.5
2.13.6
2.13.7
2.13.8
2.13.9
2.14.0
2.15.0
2.16.0
2.16.1
2.17.0
2.17.1
2.17.2
2.17.3
2.18.0
2.18.1
2.19.0
2.2.0
2.2.1
2.20.0
2.20.1
2.21.0
2.22.0
2.22.1
2.22.2
2.22.3
2.22.4
2.23.0
2.23.1
2.24.0
2.24.1
2.25.0
2.26.0
2.27.0
2.28.0
2.29.0
2.3
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.30.0
2.31.0
2.32.0
2.32.1
2.32.2
2.33.0
2.34.0
2.34.1
2.35.0
2.35.1
2.36.0
2.37.0
2.38.0
2.38.1
2.4.0
2.4.1
2.5.0
2.6.0
2.7.0
2.8.0
2.8.1
2.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55847.json"