Medium
Security advisory
An XSS issue was discovered in MantisBT before 2.24.2. Improper escaping on view_all_bug_page.php allows a remote attacker to inject arbitrary HTML into the page by saving it into a text Custom Field, leading to possible code execution in the browser of any user subsequently viewing the issue (if CSP settings allow it).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-16266
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:10 UTC · Revision 1
Source evidence
An XSS issue was discovered in MantisBT before 2.24.2. Improper escaping on view_all_bug_page.php allows a remote attacker to inject arbitrary HTML into the page by saving it into a text Custom Field, leading to possible code execution in the browser of any user subsequently viewing the issue (if CSP settings allow it).
osv:CVE-2020-16266
Complete source record
{
"id": "75c9823c254246cc6174cef5375bcf46d995fe3ab7ae94e8c08af99a69f42b7b",
"url": "https://osv.dev/vulnerability/CVE-2020-16266",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-16266",
"summary": "An XSS issue was discovered in MantisBT before 2.24.2. Improper escaping on view_all_bug_page.php allows a remote attacker to inject arbitrary HTML into the page by saving it into a text Custom Field, leading to possible code execution in the browser of any user subsequently viewing the issue (if CSP settings allow it).",
"evidence": "osv:CVE-2020-16266",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-16266",
"aliases": [
"CVE-2020-16266",
"GHSA-4rrc-5vp6-m3f6"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mantisbt/mantisbt",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "7799118023ab2a8f0cdac16bf9c0b88d1c4b6388"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.24.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"release-2.24.1",
"release-2.24.0",
"release-2.23.0",
"release-2.22.0",
"release-2.21.0",
"release-2.20.0",
"release-2.19.0",
"release-2.18.0",
"release-2.17.0",
"release-2.16.0",
"release-2.15.0",
"release-2.14.0",
"release-2.13.0",
"release-2.12.0",
"release-2.11.0",
"release-2.10.0",
"release-2.9.0",
"release-2.8.0",
"release-2.7.0",
"release-2.6.0",
"release-2.5.0",
"release-2.4.0",
"release-2.3.0",
"release-2.2.0",
"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-2020-16266.json"
}
}
],
"modified": "2026-10-24T10:30:36.422877287Z",
"provider": "osv",
"references": [
"https://mantisbt.org/blog/archives/mantisbt/665",
"https://mantisbt.org/bugs/view.php?id=27056"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-16266",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 433966,
"published_at": "2020-08-12T13:15:10.613+00:00"
}