MantisBT CVE-2026-52881
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft URL with malicious install.php parameter
-
DeliverySend link to MantisBT administrator
-
ExploitReflected input renders fake login form
-
ExecutionAdmin submits credentials to attacker server
-
ImpactCredentials exfiltrated / victim redirected
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the MantisBT installer at /admin/install.php still be present and reachable - the Admin Guide directs operators to remove the /admin directory after setup, so hardened production instances are not exposed. The description states no authentication is required to reach the endpoint (CVSS vector unavailable to confirm). Attack is limited by mandatory victim interaction: an administrator must click the attacker-supplied crafted URL and then actively submit the forged login form for credential phishing to succeed. The pre-existing script-src 'self' CSP further limits impact by blocking JavaScript execution, so the flaw yields credential-phishing form injection, <meta> open redirects, and CSS-based UI overlay rather than arbitrary script execution; the missing form-action CSP directive is the specific gap that permits the form-based exfiltration. |
| Impact | No CVSS vector, EPSS score, or KEV entry is present in the input, so quantitative exploitation signals are unavailable and cannot be compared. Qualitatively this is a reflected XSS neutered by an existing CSP: script execution is prevented, reducing the ceiling from session/account takeover to credential phishing, open redirect, and UI spoofing that all depend on convincing an administrator to click a crafted link and then interact with a forged form. Two structural factors substantially lower real-world risk: exploitation targets install.php, which the vendor's Admin Guide instructs operators to remove after installation, and successful credential theft still requires victim interaction and social engineering rather than automated compromise. This is a legitimate but moderate-priority issue - patch during normal maintenance - rather than a drop-everything emergency; the absence of KEV/POC/EPSS data means the low-urgency read is inferred from the vulnerability class and CSP mitigation, not from confirmed exploitation telemetry. |
| Exploit ScenarioDerived | An attacker crafts a URL to a target's /admin/install.php with malicious values in one of the six reflected parameters, embedding a fake login form whose action points to an attacker-controlled server. The attacker emails the link to a MantisBT administrator; because the page is served from the real, trusted MantisBT host, the admin trusts the forged prompt, enters credentials, and they are exfiltrated - alternatively the same injection performs a silent <meta> redirect to a malware site. No public exploit code is identified at time of analysis, and success depends on victim interaction over the network vector. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
Reflected cross-site scripting in MantisBT 2.28.3 and earlier lets remote attackers inject HTML into the unauthenticated /admin/install.php installer page through six user-supplied parameters echoed via an unescaped printf format string. Because the application ships a script-src 'self' Content Security Policy that lacks a form-action directive, an attacker cannot run inline JavaScript but can render fake credential-harvesting login forms, perform <meta>-based open redirects, and overlay attacker HTML via CSS injection on the legitimate admin page. There is no public exploit identified at time of analysis, no CISA KEV listing, and no CVSS/EPSS score in the provided data; the issue was reported by watchTowr and fixed in 2.28.4.
RemediationAI
Vendor-released patch: 2.28.4 - upgrade MantisBT to 2.28.4 or later, which applies commit 297773fbb238c39a153bd888431b41a176132098 to HTML-escape the reflected form values in admin/install.php (advisory: https://github.com/mantisbt/mantisbt/security/advisories/GHSA-vcrw-4xvv-jh49). If immediate upgrade is not possible, apply the vendor-recommended workaround of removing the /admin directory as described in the Admin Guide (https://mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.install.postcommon), which eliminates the vulnerable installer entirely; the trade-off is that admin/upgrade and installation tooling become unavailable until restored. As an additional compensating control, restrict web-server access to /admin/install.php to trusted admin source IPs and add a form-action 'self' directive to the deployed Content Security Policy so injected forms cannot post to external origins, noting this hardens phishing resistance but does not stop the underlying reflection or CSS/redirect abuse.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the MantisBT installer script admin/install.php in the PHP-based MantisBT bug tracker (package pkg:composer/mantisbt/mantisbt). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): form variables (${'f_' . $t_key}) are passed directly into a printf output that emits HTML, so attacker-controlled request parameters are reflected without output encoding. The patch commit 297773fbb238c39a153bd888431b41a176132098 wraps the value in string_html_specialchars(), confirming the fix is contextual HTML-entity escaping. A partial defense-in-depth control already existed - a Content Security Policy of script-src 'self' that blocks inline/injected <script> execution - but the CSP omits a form-action directive, so injected <form> tags can post to arbitrary external origins and <meta http-equiv=refresh> redirects are unrestricted, which is why the impact is phishing/redirect rather than full script execution.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
Network-reachable unauthenticated installer reflection requires the victim admin to click a link and submit a form (UI:R), crosses into the browser context (S:C), and CSP caps impact to limited phishing/redirect (C:L/I:L, A:N).
DescriptionCVE.org
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 an unescaped printf format string. 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 <meta> 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
- https://github.com/mantisbt/mantisbt/commit/297773fbb238c39a153bd888431b41a176132098
Workarounds
Remove the /admin directory, as recommended in the Admin Guide
Resources
- https://mantisbt.org/bugs/view.php?id=37103
- related advisory GHSA-77x8-3v3h-hrhv
Credits
McCaulay Hudson (@_McCaulay) of watchTowr
Articles & Coverage 1
Executive ViewAI
MantisBT versions 2.28.3 and earlier contain a vulnerability in the installer page that allows remote attackers to display fake login screens to harvest credentials and perform open redirects without authentication. Organizations that have not removed or protected the installer page face immediate risk of administrative credential compromise and unauthorized system access. Upgrade to version 2.28.4 immediately.
Apply vendor patch: MantisBT 2.28.4. As an interim mitigation prior to patching, restrict network access to the /admin/install.php page via firewall rules or authentication proxy until upgrade is completed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
GHSA-vcrw-4xvv-jh49
CVE.org
Exploit-DB