Vulnerability · Published May 22, 2026 · Assigned by GitHub_M
CVE-2026-40607MantisBT is Vulnerable to Stored XSS Through its Saved-Filter Owner Column
High 7.5
In plain English
A high-severity cross-site scripting in mantisbt from mantisbt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | mantisbt/mantisbt | 2.28.2 | GHSA-f633-865q-2mhh |
Affected products (as reported)
Weakness: CWE-79 · Vector: 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
References
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-f633-865q-2mhh x_refsource_CONFIRM
- https://github.com/mantisbt/mantisbt/commit/44f490bcf20fd491c1b8f3fc9dd041d8c2a30010 x_refsource_MISC
- https://mantisbt.org/bugs/view.php?id=37015 x_refsource_MISC