Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-7241
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:18 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-7241
Complete source record
{
"id": "34292784708c97912273f2159c8733df42bddf182679d0edf9466303c1c9efab",
"url": "https://osv.dev/vulnerability/CVE-2017-7241",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-7241",
"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.",
"evidence": "osv:CVE-2017-7241",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-7241",
"aliases": [
"CVE-2017-7241",
"GHSA-x53v-v9xp-gf6g"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mantisbt/mantisbt",
"type": "GIT",
"events": [
{
"introduced": "7ab63938f1884bd905984a959200da1be2727bc4"
},
{
"last_affected": "0c6dde3dea2ea43d1d38f72f44834436c6dd4d74"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.2.16:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.2.16"
},
{
"last_affected": "1.2.16"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.2.17:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.2.17"
},
{
"last_affected": "1.2.17"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.2.18:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.2.18"
},
{
"last_affected": "1.2.18"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.2.19:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.2.19"
},
{
"last_affected": "1.2.19"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.2.20:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.2.20"
},
{
"last_affected": "1.2.20"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.3.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.1"
},
{
"last_affected": "1.3.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.3.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.2"
},
{
"last_affected": "1.3.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.3.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.3"
},
{
"last_affected": "1.3.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.3.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.4"
},
{
"last_affected": "1.3.4"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.3.5:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.5"
},
{
"last_affected": "1.3.5"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.3.6:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.6"
},
{
"last_affected": "1.3.6"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.3.7:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.7"
},
{
"last_affected": "1.3.7"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.3.8:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.8"
},
{
"last_affected": "1.3.8"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:1.3.9:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.9"
},
{
"last_affected": "1.3.9"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:2.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"last_affected": "2.0.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:2.0.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.1"
},
{
"last_affected": "2.0.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:2.1.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.1.0"
},
{
"last_affected": "2.1.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:2.1.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.1.1"
},
{
"last_affected": "2.1.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:2.1.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.1.2"
},
{
"last_affected": "2.1.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:2.1.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.1.3"
},
{
"last_affected": "2.1.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:2.2.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.2.0"
},
{
"last_affected": "2.2.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:2.2.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.2.1"
},
{
"last_affected": "2.2.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:2.2.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.2.2"
},
{
"last_affected": "2.2.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:2.2.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.2.3"
},
{
"last_affected": "2.2.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:2.3.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.3.0"
},
{
"last_affected": "2.3.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.2.16",
"1.2.17",
"1.2.18",
"1.2.19",
"1.2.20",
"1.3.1",
"1.3.2",
"1.3.3",
"1.3.4",
"1.3.5",
"1.3.6",
"1.3.7",
"1.3.8",
"1.3.9",
"2.0.0",
"2.0.1",
"2.1.0",
"2.1.1",
"2.1.2",
"2.1.3",
"2.2.0",
"2.2.1",
"2.2.2",
"2.2.3",
"2.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7241.json"
}
}
],
"modified": "2026-10-24T10:31:05.598443028Z",
"provider": "osv",
"references": [],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:mantisbt:mantisbt:1.3.0:beta1:*:*:*:*:*:*",
"cpe:2.3:a:mantisbt:mantisbt:1.3.0:beta2:*:*:*:*:*:*",
"cpe:2.3:a:mantisbt:mantisbt:1.3.0:beta3:*:*:*:*:*:*",
"cpe:2.3:a:mantisbt:mantisbt:1.3.0:rc1:*:*:*:*:*:*",
"cpe:2.3:a:mantisbt:mantisbt:1.3.0:rc2:*:*:*:*:*:*",
"cpe:2.3:a:mantisbt:mantisbt:2.0.0:beta1:*:*:*:*:*:*",
"cpe:2.3:a:mantisbt:mantisbt:2.0.0:beta2:*:*:*:*:*:*",
"cpe:2.3:a:mantisbt:mantisbt:2.0.0:beta3:*:*:*:*:*:*",
"cpe:2.3:a:mantisbt:mantisbt:2.0.0:rc1:*:*:*:*:*:*",
"cpe:2.3:a:mantisbt:mantisbt:2.0.0:rc2:*:*:*:*:*:*"
],
"vendor_product": "mantisbt:mantisbt",
"extracted_events": [
{
"range": [
{
"introduced": "1.3.0-beta1"
},
{
"last_affected": "1.3.0-beta1"
},
{
"introduced": "1.3.0-beta2"
},
{
"last_affected": "1.3.0-beta2"
},
{
"introduced": "1.3.0-beta3"
},
{
"last_affected": "1.3.0-beta3"
},
{
"introduced": "1.3.0-rc1"
},
{
"last_affected": "1.3.0-rc1"
},
{
"introduced": "1.3.0-rc2"
},
{
"last_affected": "1.3.0-rc2"
},
{
"introduced": "2.0.0-beta1"
},
{
"last_affected": "2.0.0-beta1"
},
{
"introduced": "2.0.0-beta2"
},
{
"last_affected": "2.0.0-beta2"
},
{
"introduced": "2.0.0-beta3"
},
{
"last_affected": "2.0.0-beta3"
},
{
"introduced": "2.0.0-rc1"
},
{
"last_affected": "2.0.0-rc1"
},
{
"introduced": "2.0.0-rc2"
},
{
"last_affected": "2.0.0-rc2"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2017-7241",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 440789,
"published_at": "2017-03-31T04:59:00.25+00:00"
}