GitHub Advisoryadvisory · Packagist

GHSA-h2wf-967x-gxvw MantisBT: Stored XSS in print_all_bug_page_word.php

HIGH Published 2026-07-15 Modified 2026-07-15 Official page ↗
Aliases
CVE-2026-62944
Ecosystem
Packagist
Packages
mantisbt/mantisbt
Severity
High
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
Weaknesses
CWE-79
Reviewed
2026-07-15

Affected packages

• Packagist mantisbt/mantisbt: < 2.28.4 → fixed in 2.28.4

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 ``, 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.

Related

Alias · not in database (1)

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References