CVE-2026-52881: MantisBT reflected XSS in admin/install.php

CVE-2026-52881 · Severity: critical · CVSS 4 · Published 2026-07-15

MantisBT is a popular open-source bug tracking system. A vulnerability in its installation script allows attackers to inject malicious content into the application's web pages without needing to log in. This can be used to trick administrators into revealing their login credentials through fake forms or to redirect users to malicious websites, potentially compromising the entire bug tracking system and its data.

Technologies: MantisBT, mantisbt/mantisbt (Packagist). Vendors: MantisBT, Packagist.

Quick answers

Is CVE-2026-52881 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-52881 being exploited in the wild.
How severe is CVE-2026-52881?
Critical severity, with a CVSS score of 4, published 15 July 2026.
Which products and versions are affected?
MantisBT <= 2.28.3; mantisbt/mantisbt (Packagist) <= 2.28.3, ECOSYSTEM:introduced=0,fixed=2.28.4.
Is there a fix for CVE-2026-52881?
Yes. mantisbt/mantisbt (Packagist): upgrade to 2.28.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-52881 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-52881?
Check whether you run MantisBT or mantisbt/mantisbt (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • mantisbt/mantisbt (Packagist): upgrade to 2.28.4 or later
    composer require mantisbt/mantisbt:^2.28.4

Technical details

MantisBT 2.28.3 and earlier contains six reflected Cross-Site Scripting (XSS) injection points in `/admin/install.php`. The vulnerability stems from user-supplied parameters being echoed into HTML without proper escaping via an unescaped printf format string. While a Content Security Policy (CSP) is present, it lacks a 'form-action' directive, which allows attackers to bypass script execution restrictions to perform credential phishing via form injection, CSS injection for UI manipulation, and <meta> tag open redirects. No authentication is required for exploitation. The issue is fixed in version 2.28.4.

Affected products

  • MantisBT MantisBT <= 2.28.3

Identifiers

  • CVE-2026-52881
  • GHSA-vcrw-4xvv-jh49

Timeline

  • 2026-07-15: disclosed
  • 2026-07-15: advisory
  • 2026-07-15: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.