GHSA-77x8-3v3h-hrhv: MantisBT: Reflected XSS in admin/install.php
MantisBT versions 2.28.3 and earlier contain six reflected cross-site scripting (XSS) vulnerabilities in the /admin/install.php page. These vulnerabilities allow user-supplied input to be echoed into HTML without proper escaping, enabling attackers to inject malicious content. Although a Content Security Policy (CSP) restricts inline JavaScript execution, the absence of a form-action directive allows exploitation through credential phishing, open redirects, and UI manipulation. No authentication is required to exploit these issues.
AI Analysis
Technical Summary
MantisBT 2.28.3 and earlier have six reflected XSS injection points in /admin/install.php where user input is echoed without escaping via print_test_result(). The CSP restricts inline scripts but lacks a form-action directive, enabling attackers to craft URLs that render fake login forms for credential phishing, perform open redirects to malicious sites, and manipulate the UI via CSS injection. These vulnerabilities do not require authentication. Official patches are available in the MantisBT GitHub repository. A recommended workaround is to remove the /admin directory as per the Admin Guide.
Potential Impact
An attacker can exploit these reflected XSS vulnerabilities to perform credential phishing by displaying fake login forms on the legitimate MantisBT admin page, potentially capturing admin credentials. They can also cause victims to be silently redirected to phishing or malware sites via open redirects. Additionally, UI manipulation through CSS injection can hide legitimate content and overlay attacker-controlled HTML, facilitating social engineering attacks. These impacts can lead to credential compromise and further system compromise.
Mitigation Recommendations
Official patches addressing these vulnerabilities have been released by the MantisBT project (see referenced GitHub commits). Users should upgrade to versions later than 2.28.3 to remediate the issue. As a workaround, removing the /admin directory is recommended according to the MantisBT Admin Guide. No additional mitigation is required if the patch is applied or the workaround is implemented.
GHSA-77x8-3v3h-hrhv: MantisBT: Reflected XSS in admin/install.php
Description
MantisBT versions 2.28.3 and earlier contain six reflected cross-site scripting (XSS) vulnerabilities in the /admin/install.php page. These vulnerabilities allow user-supplied input to be echoed into HTML without proper escaping, enabling attackers to inject malicious content. Although a Content Security Policy (CSP) restricts inline JavaScript execution, the absence of a form-action directive allows exploitation through credential phishing, open redirects, and UI manipulation. No authentication is required to exploit these issues.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
MantisBT 2.28.3 and earlier have six reflected XSS injection points in /admin/install.php where user input is echoed without escaping via print_test_result(). The CSP restricts inline scripts but lacks a form-action directive, enabling attackers to craft URLs that render fake login forms for credential phishing, perform open redirects to malicious sites, and manipulate the UI via CSS injection. These vulnerabilities do not require authentication. Official patches are available in the MantisBT GitHub repository. A recommended workaround is to remove the /admin directory as per the Admin Guide.
Potential Impact
An attacker can exploit these reflected XSS vulnerabilities to perform credential phishing by displaying fake login forms on the legitimate MantisBT admin page, potentially capturing admin credentials. They can also cause victims to be silently redirected to phishing or malware sites via open redirects. Additionally, UI manipulation through CSS injection can hide legitimate content and overlay attacker-controlled HTML, facilitating social engineering attacks. These impacts can lead to credential compromise and further system compromise.
Mitigation Recommendations
Official patches addressing these vulnerabilities have been released by the MantisBT project (see referenced GitHub commits). Users should upgrade to versions later than 2.28.3 to remediate the issue. As a workaround, removing the /admin directory is recommended according to the MantisBT Admin Guide. No additional mitigation is required if the patch is applied or the workaround is implemented.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-77x8-3v3h-hrhv
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-52847"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 4.0
Threat ID: 6a58b44a68715ace43d6b2f9
Added to database: 07/16/2026, 10:36:58 UTC
Last enriched: 07/16/2026, 11:24:33 UTC
Last updated: 07/17/2026, 03:34:25 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.