Advisory

GHSA-98xr-mmq5-vc5h

Also known as: CVE-2017-12061

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:05 UTC
Modified
2025-05-30 15:13 UTC

Affected packages and fixes

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 0, fixed 1.3.12 (ecosystem)

Fixed versions

1.3.12

Fix

The export has no generic command for this ecosystem.

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.5.2 (ecosystem)

Fixed versions

2.5.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences