Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-40598 EUVD-2026-31494GHSA-6jh4-47v2-4g37

MantisBT has Potential Referer-Based Reflected HTML Injection / XSS in Tag Update Page

Published May 22, 2026 · Updated May 23, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
mantisbt mantisbt < 2.28.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist mantisbt/mantisbt < 2.28.2 2.28.2 GHSA-6jh4-47v2-4g37

References