Skip to content
OpenAdvisories
Medium · 6.1 CVE-2017-12061 EUVD-2017-3647GHSA-98xr-mmq5-vc5h

MantisBT XSS allows unsanitized input via admin/install.php

Published Aug 1, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

An XSS issue was discovered in admin/install.php in MantisBT before 1.3.12 and 2.x before 2.5.2. Some variables under user control in the MantisBT installation script are not properly sanitized before being output, allowing remote attackers to inject arbitrary JavaScript code, as demonstrated by the $f_database, $f_db_username, and $f_admin_username variables. This is mitigated by the fact that the admin/ folder should be deleted after installation, and also prevented by CSP.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist mantisbt/mantisbt < 1.3.12 1.3.12 GHSA-98xr-mmq5-vc5h
Packagist mantisbt/mantisbt >= 2.0.0, < 2.5.2 2.5.2 GHSA-98xr-mmq5-vc5h

References