Skip to main content

CVE-2026-52847 — MantisBT: Reflected XSS in mantisbt/mantisbt

CRITICAL

MantisBT: Reflected XSS in admin/install.php

Published July 15, 2026Updated July 15, 2026Source: OSV

Does your project use an affected mantisbt/mantisbt version?

Paste your composer.lock to check it for CVE-2026-52847 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

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 print_test_result(). 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.
  • UI manipulation: CSS injection can hide legitimate page content and overlay attacker-controlled HTML, enabling social engineering.

Patches

Workarounds

Remove the /admin directory, as recommended in the Admin Guide

Resources

Credits

McCaulay Hudson (@_McCaulay) of watchTowr

Advisory Timeline

  • First published July 15, 2026 (134 days ago).
  • Last revised July 15, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update mantisbt/mantisbt to 2.28.4 or later
composer require "mantisbt/mantisbt:^2.28.4"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Packagist (1).

PackageFixed In
mantisbt/mantisbt Packagist · Affected: 2.10.0, 2.10.1, 2.11.0, 2.11.1 (+74 more)2.28.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Frequently Asked Questions

What is CVE-2026-52847?
MantisBT: Reflected XSS in admin/install.php. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 8.9/10).
How do I check if my project is affected by CVE-2026-52847?
CVE-2026-52847 affects mantisbt/mantisbt. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-52847 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.9

Significant impact if exploited, or exploitable with modest effort.

Also Known As

GHSA-77x8-3v3h-hrhv

Related CVEs

  • CVE-2026-47156
    CRITICAL

    MantisBT: SOAP API Authentication Bypass with Privilege Escalation to Administrator

  • CVE-2026-30849
    CRITICAL

    MantisBT is vulnerable to authentication bypass through the SOAP API on MySQL

  • CVE-2026-63412
    CRITICAL

    Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)

  • CVE-2026-52881
    CRITICAL

    MantisBT: Reflected XSS in admin/install.php via unescaped printf

  • CVE-2026-63413
    CRITICAL

    Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)

  • CVE-2025-47776
    HIGH

    MantisBT vulnerable to authentication bypass for some passwords due to PHP type juggling

  • CVE-2026-40596
    HIGH

    MantisBT is Vulnerable to XSS leading to account takeover via updating a user's font family preference

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock