Loading...
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

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 <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/0f32ceabadc745239754962df91a51d5d51e3fd7 - https://github.com/mantisbt/mantisbt/commit/f2191a0d8ce438bf74171d496cf721dae025a5c0 ### Workarounds Remove the `/admin` directory, as [recommended in the Admin Guide](https://mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.install.postcommon) ### Resources - https://mantisbt.org/bugs/view.php?id=37103 - related advisory [GHSA-vcrw-4xvv-jh49](https://github.com/mantisbt/mantisbt/security/advisories/GHSA-vcrw-4xvv-jh49) ### Credits McCaulay Hudson (@_McCaulay) of watchTowr

Advisory Timeline

  • First published July 15, 2026 (89 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
mantisbt/mantisbt
packagist
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

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-77x8-3v3h-hrhv

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies