# MantisBT: Reflected XSS in admin/install.php

Critical severity, published 2026-07-15. Update mantisbt/mantisbt to 2.28.4 or later: composer update mantisbt/mantisbt.

Canonical URL: https://buzzphp.com/security/ghsa-77x8-3v3h-hrhv · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical |
| Published | 2026-07-15 |
| Updated | 2026-07-15 |
| CVE | [CVE-2026-52847](https://nvd.nist.gov/vuln/detail/CVE-2026-52847) |
| GHSA | [GHSA-77x8-3v3h-hrhv](https://github.com/advisories/GHSA-77x8-3v3h-hrhv) |
| Weakness | CWE-79 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| mantisbt/mantisbt | <= 2.28.3 | 2.28.4 |

## What to do

Update mantisbt/mantisbt to 2.28.4 or later: composer update mantisbt/mantisbt.

Check which version you run with `composer show mantisbt/mantisbt`, and every affected package with `composer audit`.

## About this advisory

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.

## Links

- [GHSA-77x8-3v3h-hrhv on GitHub](https://github.com/advisories/GHSA-77x8-3v3h-hrhv)
- [CVE-2026-52847 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-52847)
- [All Composer security advisories](https://buzzphp.com/security)
