NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-62944: MantisBT: Stored XSS in print_all_bug_page_word.php

highCVSS 4.0 8.6GHSA-h2wf-967x-gxvw

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.

Published Jul 15, 2026

Affected packages

mantisbt/mantisbt

Ecosystem
Composer (PHP)
Affected
<= 2.28.3
Fixed in
2.28.4
Check
composer show mantisbt/mantisbt

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

A missing output encoding call in print_all_bug_page_word.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 (print_all_bug_page_word.php?type_page=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

Credits

MantisBT thanks the Dracosec Research Limited team (Chris Chan, Krecendo Hui, William Lam) for discovering and responsibly reporting the issue.

Credited to dracosectech-code, dregad.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries