MantisBT: Stored XSS in print_all_bug_page_word.php
High severity. Published 15 July 2026. Update mantisbt/mantisbt to 2.28.4 or later: composer update mantisbt/mantisbt.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| mantisbt/mantisbt (opens in a new tab) | <= 2.28.3 | 2.28.4 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show mantisbt/mantisbt
composer auditAdvisory details
| Severity | High |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-62944 (opens in a new tab) |
| GHSA | GHSA-h2wf-967x-gxvw (opens in a new tab) |
| Weakness | CWE-79 |
What the advisory says
A missing output encoding call in printallbugpageword.php allows any authenticated user to inject arbitrary HTML into an IMG tag's alt attribute via an image attachment with a crafted filename such as probe." onload="alert(1).
When any user views the HTML export page (printallbugpageword.php?typepage=html&export=1), the rendered IMG tag becomes , breaking out of the alt attribute.
Impact Cross-site scripting.
Impact is limited by MantisBT's Content Security Policy.
Patches - https://github.com/mantisbt/mantisbt/commit/bdd0e364f62759de272dfd4c89b4f51d27be9daa
Workarounds None
Resources - https://mantisbt.org/bugs/view.php?id=37234
Source: GHSA-h2wf-967x-gxvw (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- MantisBT: Reflected XSS in admin/install.php via unescaped printf (critical, 15 July 2026)
- MantisBT: Remote Code Execution via eval() Class Hoisting in adm_config_set.php (high, 15 July 2026)
- MantisBT: SQL Injection via history_order Configuration Value (high, 15 July 2026)
- MantisBT: REST API unauthorized Issue status change (opens in a new tab) (medium, 15 July 2026)
- MantisBT: SOAP API Authentication Bypass with Privilege Escalation to Administrator (critical, 15 July 2026)