# CVE-2026-40607: MantisBT is Vulnerable to Stored XSS Through its Saved-Filter Owner Column

- Severity: High 7.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-05-11T19:35:05.000Z
- Modified: 2026-09-10T03:51:05.361Z
- Also known as: GHSA-f633-865q-2mhh
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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).

(As written by CVE List.)

## Affected

- mantisbt mantisbt: >= 2.1.0, < 2.28.2
- mantisbt/mantisbt (Packagist): from 2.1.0 before 2.28.2

## Every score

- GitHub_M: CVSS:4.0 7.5 High `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`
- GitHub: CVSS:4.0 High `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> (web)
- <https://github.com/mantisbt/mantisbt/commit/44f490bcf20fd491c1b8f3fc9dd041d8c2a30010> (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)

## Sources

- CVE List: [CVE-2026-40607](https://www.cve.org/CVERecord?id=CVE-2026-40607), CVE Terms of Use, modified 2026-05-26
- GitHub Advisory Database: [GHSA-f633-865q-2mhh](https://github.com/advisories/GHSA-f633-865q-2mhh), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-40607](https://nvd.nist.gov/vuln/detail/CVE-2026-40607), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-40607 · Whole record: https://cve.day/CVE-2026-40607.json · Rebuilt by cve.day 2026-11-25T22:59:22.206Z
