GHSA-f633-865q-2mhhhigh7.5
MantisBT is Vulnerable to Stored XSS in Saved-Filter Owner Column
Impact
Incorrect escaping of a saved filter's owner allows an attacker to inject arbitrary HTML on systems where $g_show_user_realname = ON.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
mantisbt/mantisbt Packagist
| Affected range | Recorded fix |
|---|---|
| From 2.1.0 before 2.28.2Ecosystem versions | 2.28.2 |
Version evidence: OSV · GHSA-f633-865q-2mhh
View original version evidence (76 explicit versions)
Original source description
Incorrect escaping of a saved filter's owner allows an attacker to inject arbitrary HTML on systems where $g_show_user_realname = ON.
Impact
Cross-site scripting (XSS).
Note that By default, only users with Manager access level or above can save their filters publicly
Patches
- 44f490bcf20fd491c1b8f3fc9dd041d8c2a30010
Workarounds
- Prevent display of users' real name (set
$g_ show_user_realname = OFF;in configuration) - Restrict ability to store filters (set $
g_stored_query_create_threshold/ $g_stored_query_create_shared_thresholdtoNOBODY
Credits
Thanks to siunam (Tang Cheuk Hei) for discovering and responsibly reporting the issue.
References
- Security advisory github.com/mantisbt/mantisbt/security/advisories/GHSA-f633-865q-2mhh
- Security advisory nvd.nist.gov/vuln/detail/CVE-2026-40607
- Patch github.com/mantisbt/mantisbt/commit/44f490bcf20fd491c1b8f3fc9dd041d8c2a30010
- Source reference github.com/mantisbt/mantisbt
- Source reference mantisbt.org/bugs/view.php