BuzzPHP
LightDarkSystem

MantisBT: Reflected XSS in admin/install.php

Critical severity. Published 15 July 2026. Update mantisbt/mantisbt to 2.28.4 or later: composer update mantisbt/mantisbt.

Which versions are affected?

PackageAffected versionsFixed in
mantisbt/mantisbt (opens in a new tab)<= 2.28.32.28.4

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show mantisbt/mantisbt
composer audit

Advisory details

SeverityCritical
Published
Updated
CVECVE-2026-52847 (opens in a new tab)
GHSAGHSA-77x8-3v3h-hrhv (opens in a new tab)
WeaknessCWE-79

What the advisory says

MantisBT 2.28.3 and earlier contains six reflected XSS injection points in /admin/install.php. User-supplied parameters are echoed into HTML without escaping via printtestresult(). No authentication is required.

A Content Security Policy (script-src 'self') prevents inline JavaScript execution, but the CSP is missing a form-action directive, allowing exploitation via credential-phishing form injection and open redirects.

Impact - Credential phishing: Attacker crafts a URL that renders a fake login form on the real MantisBT admin page. Admin credentials are submitted to an attacker-controlled server. - Open redirect: Victim is silently redirected to a phishing or malware site.

Source: GHSA-77x8-3v3h-hrhv (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories