Skip to content
OpenAdvisories
High · 7.5 CVE-2026-40607 EUVD-2026-31495GHSA-f633-865q-2mhh

MantisBT is Vulnerable to Stored XSS Through its Saved-Filter Owner Column

Published May 22, 2026 · Updated May 26, 2026 · 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).

Affected products

VendorProductAffectedFixed
mantisbt mantisbt >= 2.1.0, < 2.28.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist mantisbt/mantisbt >= 2.1.0, < 2.28.2 2.28.2 GHSA-f633-865q-2mhh

References