Security mailing lists by PureSourceCode

CVE-2017-12061

MEDIUM 6.1CVSS 3.1

MantisBT XSS allows unsanitized input via admin/install.php

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.

Published
1 Aug 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-98xr-mmq5-vc5h
Sources
NVDJSONOSV GHSA-98xr-mmq5-vc5hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mantisbt mantisbt
cpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:*
>= 1.3.0, < 1.3.12 1.3.12
NVD mantisbt mantisbt
cpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.5.2 2.5.2
OSV Packagist mantisbt/mantisbt < 1.3.12 1.3.12
OSV Packagist mantisbt/mantisbt >= 2.0.0, < 2.5.2 2.5.2

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 1 Aug 2017)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.