CVE-2026-40598

Medium

Description

Mantis Bug Tracker (MantisBT) is an open source issue tracker. In versions 2.28.1 and below, improper escaping of the redirection page (retrieved from the request's Referer header) allows an attacker to inject HTML. While this is generally not directly actionable as modern browsers will URL-encode special characters, on some specific server configurations this could poison the cache, leading to cross-site scripting. This issue has been fixed in version 2.28.2.

SeverityMedium
CVSS6.9
Exploit probability—
ProductMantisbt/mantisbt
PublishedMay 22, 2026
First seenMay 22, 2026

How to fix

Update
  • mantisbt/mantisbt2.28.2 or later

Affected products

ProductAffected versionsFixed in
mantisbt/mantisbtPackagistv < 2.28.22.28.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.