# MantisBT: Stored XSS in print_all_bug_page_word.php

High severity, published 2026-07-15. Update mantisbt/mantisbt to 2.28.4 or later: composer update mantisbt/mantisbt.

Canonical URL: https://buzzphp.com/security/ghsa-h2wf-967x-gxvw · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high |
| Published | 2026-07-15 |
| Updated | 2026-07-15 |
| CVE | [CVE-2026-62944](https://nvd.nist.gov/vuln/detail/CVE-2026-62944) |
| GHSA | [GHSA-h2wf-967x-gxvw](https://github.com/advisories/GHSA-h2wf-967x-gxvw) |
| Weakness | CWE-79 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| mantisbt/mantisbt | <= 2.28.3 | 2.28.4 |

## What to do

Update mantisbt/mantisbt to 2.28.4 or later: composer update mantisbt/mantisbt.

Check which version you run with `composer show mantisbt/mantisbt`, and every affected package with `composer audit`.

## About this advisory

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



## Links

- [GHSA-h2wf-967x-gxvw on GitHub](https://github.com/advisories/GHSA-h2wf-967x-gxvw)
- [CVE-2026-62944 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-62944)
- [All Composer security advisories](https://buzzphp.com/security)
