CVE-2017-7241 json
MantisBT XSS via move_attachments_page.php
published 2017-03-31 9 y ago modified 2026-06-17 4 mo ago also GHSA-x53v-v9xp-gf6g , EUVD-2017-16273
- cvss
- 4.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
A cross-site scripting (XSS) vulnerability in the MantisBT Move Attachments page (move_attachments_page.php, part of admin tools) allows remote attackers to inject arbitrary code through a crafted 'type' parameter, if Content Security Protection (CSP) settings allows it. This is fixed in 1.3.9, 2.1.3, and 2.2.3. Note that this vulnerability is not exploitable if the admin tools directory is removed, as recommended in the "Post-installation and upgrade tasks" of the MantisBT Admin Guide. A reminder to do so is also displayed on the login page.
Patch / fix
- packagist mantisbt/mantisbt 1.3.9, 2.1.3, 2.2.3
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-7241 updated cvss 4.7
mantis: three cross-site scripting issues fixed in 1.3.9, 2.1.3, 2.2.3
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.93% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- mantisbt.org http://www.mantisbt.org/bugs/view.php?id=22568 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 4.8 | CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.0 | 4.8 | CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | mantisbt/mantisbt | <1.3.9 >=2.0.0, <2.1.3 >=2.2.0, <2.2.3 |
1.3.9 2.1.3 2.2.3 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
mantisbt.org
/bugs/view.php?id=22568
web, exploit, patch, vendor-advisory
-
github.com
/mantisbt/mantisbt/commit/2d55c6476e939db021128b3995c28dcae05b09a4
web
-
github.com
/mantisbt/mantisbt/commit/d31841c806a3c8379fcf6c9d9559451270b0f1cb
web
-
github.com
/mantisbt/mantisbt/commit/ecef0e9b523a460709e8feedfce72f05bb30b992
web
-
openwall.com
/lists/oss-security/2017/03/30/4
mailing-list, third-party-advisory
-
securitytracker.com
/id/1038169
vdb-entry
-
securityfocus.com
/bid/97253
vdb-entry, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-7241
advisory
-
github.com
/mantisbt/mantisbt
package
Sources
- CVE List CVE-2017-7241
- GitHub Advisory GHSA-x53v-v9xp-gf6g
- NVD CVE-2017-7241
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.