CVE-2024-23830: MantisBT Host Header Injection vulnerability
Impact Knowing a user's email address and username, an unauthenticated attacker can hijack the user's account by poisoning the link in the password reset notification message. Patches https://github.com/mantisbt/mantisbt/commit/7055731d09ff12b2781410a372f790172e279744 Workarounds Define $gpath as appropriate in configinc.php.
Published Feb 20, 2024 · Updated Mar 20, 2026
Affected packages
mantisbt/mantisbt
- Ecosystem
- Composer (PHP)
- Affected
- < 2.26.1
- Fixed in
- 2.26.1
- Check
composer show mantisbt/mantisbt
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Knowing a user's email address and username, an unauthenticated attacker can hijack the user's account by poisoning the link in the password reset notification message.
Patches
https://github.com/mantisbt/mantisbt/commit/7055731d09ff12b2781410a372f790172e279744
Workarounds
Define $g_path as appropriate in config_inc.php.
References
https://mantisbt.org/bugs/view.php?id=19381
Credits
Thanks to the following security researchers for responsibly reporting and helping resolve this vulnerability.
- Pier-Luc Maltais (https://twitter.com/plmaltais)
- Hlib Yavorskyi (https://github.com/Kerkroups)
- Jingshao Chen (https://github.com/shaozi)
- Brandon Roldan
- nhchoudhary
Credited to dregad, Kerkroups, shaozi, plmaltais, atrol.
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) entriesCVE-2026-47142
MantisBT: SQL Injection via history_order Configuration Value
high8.5Jul 15, 2026CVE-2026-47156
MantisBT: SOAP API Authentication Bypass with Privilege Escalation to Administrator
critical9.3Jul 15, 2026CVE-2026-49273
MantisBT: Remote Code Execution via eval() Class Hoisting in adm_config_set.php
high8.6Jul 15, 2026CVE-2026-49280
MantisBT: REST API unauthorized Issue status change
medium5.3Jul 15, 2026CVE-2026-52847
MantisBT: Reflected XSS in admin/install.php
critical9.2Jul 15, 2026CVE-2026-52881
MantisBT: Reflected XSS in admin/install.php via unescaped printf
critical9.2Jul 15, 2026
