Vulnerability · Published May 22, 2026 · Assigned by GitHub_M
CVE-2026-40596MantisBT is vulnerable to XSS and potential account takeover via user font family preference update
High 7.2
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 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Mantis Bug Tracker (MantisBT) is an open source issue tracker. Versions 2.11.0 through 2.28.1 allow any authenticated user to inject arbitrary HTML by updating their account's font family. Upon exploitation, an XSS payload would be reflected on every MantisBT page. Leveraging another vulnerability (CSP bypass, see GHSA-9c3j-xm6v-j7j3), the attacker could achieve account takeover. This issue has been fixed in version 2.28.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | mantisbt/mantisbt | 2.28.2 | GHSA-j3v9-553h-x28j |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:L
References
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-j3v9-553h-x28j x_refsource_CONFIRM
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-9c3j-xm6v-j7j3 x_refsource_MISC
- https://github.com/mantisbt/mantisbt/commit/9e8409cdd979eba86ef532756fc47c1d8112d22d x_refsource_MISC
- https://mantisbt.org/bugs/view.php?id=37011 x_refsource_MISC
- https://mantisbt.org/bugs/view.php?id=37016 x_refsource_MISC