CVE-2026-62944
JSON

high

MantisBT: Stored XSS in print_all_bug_page_word.php

Severity
high CVSS:4.0 by GitHub
Published
Last changed
Also known as
GHSA-h2wf-967x-gxvw

Description

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 <img src="..." alt="" onload="alert(1)" />, breaking out of the alt attribute.

Impact

Cross-site scripting.

Impact is limited by MantisBT's Content Security Policy.

Patches
Workarounds

None

Resources
Credits

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

Affected

Product or packageVersionsReported by
mantisbt/mantisbt (Packagist)before 2.28.4GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-h2wf-967x-gxvw changed 2026-07-15CC-BY-4.0

The CVE List record for this identifier has not been ingested yet. View it at cve.org.