CVE-2026-40607
HIGH 7.5CVSS 4.0MantisBT is Vulnerable to Stored XSS in Saved-Filter Owner Column
Mantis Bug Tracker (MantisBT) is an open source issue tracker. In versions 2.11.0 through 2.28.1, a Stored XSS vulnerability is caused by incorrect escaping of a saved filter's owner, allowing an attacker to inject arbitrary HTML on systems where $g_show_user_realname = ON. Note that By default, only users with Manager access level or above can save their filters publicly. This issue has been fixed in version 2.28.2. If developers are unable to update immediately, they can work around this issue by preventing display of users' real names (set $g_ show_user_realname = OFF; in configuration), and restricting the ability to store filters (set $g_stored_query_create_threshold / $g_stored_query_create_shared_threshold to NOBODY).
- Published
- 22 May 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-f633-865q-2mhh
- Sources
- NVDJSONOSV GHSA-f633-865q-2mhhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.5 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | mantisbt/mantisbt | >= 2.1.0, < 2.28.2 | 2.28.2 |
References
- https://github.com/mantisbt/mantisbt/commit/44f490bcf20fd491c1b8f3fc9dd041d8c2a30010 · WEB
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-f633-865q-2mhh · WEB
- https://mantisbt.org/bugs/view.php?id=37015 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40607 · ADVISORY
- https://github.com/mantisbt/mantisbt · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 11 May 2026)