CWE
79
Advisory Published
Updated

CVE-2017-12061: XSS

First published: Tue Aug 01 2017(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
MantisBT>=1.3.0<1.3.12
MantisBT>=2.0.0<2.5.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2017-12061?

    CVE-2017-12061 is considered a medium severity vulnerability due to the potential for cross-site scripting attacks.

  • How do I fix CVE-2017-12061?

    To fix CVE-2017-12061, upgrade MantisBT to version 1.3.12 or 2.5.2 or later.

  • What type of vulnerability is CVE-2017-12061?

    CVE-2017-12061 is an XSS (Cross-Site Scripting) vulnerability.

  • Which versions of MantisBT are affected by CVE-2017-12061?

    CVE-2017-12061 affects MantisBT versions prior to 1.3.12 and 2.x versions before 2.5.2.

  • Can CVE-2017-12061 be exploited remotely?

    Yes, CVE-2017-12061 can be exploited remotely by injecting arbitrary JavaScript code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203