CVE-2026-40607
Published:May 14, 2026
Updated:May 14, 2026
Incorrect escaping of a saved filter's owner allows an attacker to inject arbitrary HTML on systems where $g_show_user_realname = ON. Impact Cross-site scripting (XSS). Note that By default, only users with Manager access level or above can save their filters publicly Patches - 44f490bcf20fd491c1b8f3fc9dd041d8c2a30010 Workarounds - Prevent display of users' real name (set "$g_ show_user_realname = OFF;" in configuration) - Restrict ability to store filters (set $"g_stored_query_create_threshold" / $"g_stored_query_create_shared_threshold" to "NOBODY" Credits Thanks to siunam (Tang Cheuk Hei) for discovering and responsibly reporting the issue.
Affected Packages
https://github.com/mantisbt/mantisbt.git (GITHUB):
Affected version(s) >=release-1.0.0 <release-2.28.2Fix Suggestion:
Update to version release-2.28.2mantisbt/mantisbt (PHP):
Affected version(s) >=2.3.0 <2.28.2Fix Suggestion:
Update to version 2.28.2Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')