CVE-2017-7897: XSS

Published Apr 18, 2017
·
Updated

A cross-site scripting (XSS) vulnerability in the MantisBT (2.3.x before 2.3.2) Timeline include page, used in My View (myviewpage.php) and User Information (viewuserpage.php) pages, allows remote attackers to inject arbitrary code (if CSP settings permit it) through crafted PATHINFO in a URL, due to use of unsanitized $SERVER['PHPSELF'] to generate URLs.

Affected Software

3 affected componentsFixes available
MantisBT mantisbt=2.3.0
MantisBT mantisbt=2.3.1
composer/mantisbt/mantisbt>=2.3.0<2.3.2
2.3.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/mantisbt/mantisbt to a version that resolves this vulnerability.

    Fixed in 2.3.2

Event History

Apr 18, 2017
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·05:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 17, 2022
Advisory Published
via GitHub·02:31 AM
Data Sourced
via GitHub·02:31 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-7897?

CVE-2017-7897 is categorized as a cross-site scripting (XSS) vulnerability which can allow attackers to inject arbitrary code.

2

How do I fix CVE-2017-7897?

To resolve CVE-2017-7897, upgrade MantisBT to version 2.3.2 or later where this vulnerability has been patched.

3

Which versions of MantisBT are affected by CVE-2017-7897?

CVE-2017-7897 affects MantisBT versions 2.3.0 and 2.3.1.

4

What kind of attacks can CVE-2017-7897 facilitate?

CVE-2017-7897 can facilitate cross-site scripting attacks, which can lead to the execution of arbitrary scripts in the context of a user's browser.

5

Where can I find more information about CVE-2017-7897?

Details about CVE-2017-7897 can be found in various security advisories and repositories that document the issue.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203