Security advisory
A cross-site scripting (XSS) vulnerability in MantisBT before 2.1.1 allows remote attackers to inject arbitrary HTML or JavaScript (if MantisBT's CSP settings permit it) by modifying 'window_title' in the application configuration. This requires privileged access to MantisBT configuration management pages (i.e., administrator access rights) or altering the system configuration file (config_inc.php).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-7222
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:19 UTC · Revision 1
Source evidence
A cross-site scripting (XSS) vulnerability in MantisBT before 2.1.1 allows remote attackers to inject arbitrary HTML or JavaScript (if MantisBT's CSP settings permit it) by modifying 'window_title' in the application configuration. This requires privileged access to MantisBT configuration management pages (i.e., administrator access rights) or altering the system configuration file (config_inc.php).
osv:CVE-2017-7222
Complete source record
{
"id": "c48c966f710bdde215e7e495a543b3904f1ef5a84a83f34be0ee334e9f691844",
"url": "https://osv.dev/vulnerability/CVE-2017-7222",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-7222",
"summary": "A cross-site scripting (XSS) vulnerability in MantisBT before 2.1.1 allows remote attackers to inject arbitrary HTML or JavaScript (if MantisBT's CSP settings permit it) by modifying 'window_title' in the application configuration. This requires privileged access to MantisBT configuration management pages (i.e., administrator access rights) or altering the system configuration file (config_inc.php).",
"evidence": "osv:CVE-2017-7222",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-7222",
"aliases": [
"CVE-2017-7222"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mantisbt/mantisbt",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "9f117fd951fbde716077b1453e0ecba9dbdc588a"
},
{
"fixed": "a85b0b96c8ebe3e010d0d016cf88ab3c8bfc196a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.1.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "a85b0b96c8ebe3e010d0d016cf88ab3c8bfc196a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"release-2.1.0",
"release-2.0.0",
"release-2.0.0-rc.2",
"release-2.0.0-rc.1",
"release-2.0.0-beta.3",
"release-2.0.0-beta.2",
"release-2.0.0-beta.1",
"release-1.3.0-rc.2",
"release-1.3.0-rc.1",
"release-1.3.0-beta.3",
"release-1.3.0-beta.2",
"release-1.3.0-beta.1",
"release-1.2.0rc1",
"release-1.2.0a3",
"release-1.2.0a2",
"release-1.2.0a1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7222.json"
}
}
],
"modified": "2026-10-20T10:50:08.945330493Z",
"provider": "osv",
"references": [
"https://mantisbt.org/bugs/view.php?id=22266"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-7222",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381345,
"published_at": "2017-03-22T05:59:00.19+00:00"
}