GHSA-98xr-mmq5-vc5h

    Dashboard / Vulnerabilities / GHSA-98xr-mmq5-vc5h

    GHSA-98xr-mmq5-vc5h

    Published: 13 May 2022Last Modified: 30 May 2025

    Summary: MantisBT XSS allows unsanitized input via admin/install.php

    Details: 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

    Package

    Name: mantisbt/mantisbt

    Purl: pkg:composer/mantisbt/mantisbt

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.3.12

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High