CVE-2020-16266 json
MantisBT XSS issue on the view_all_bug_page.php
published 6y ago modified 4mo ago also GHSA-4rrc-5vp6-m3f6 , EUVD-2020-8227
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
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).
Patch / fix
- packagist mantisbt/mantisbt 2.24.2
- mantisbt mantisbt 2.24.2
Is CVE-2020-16266 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-16266 updated cvss 6.5
mantis: HTML injection (maybe XSS) via custom field on view_all_bug_page.php
-
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
1.18% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- mantisbt.org https://mantisbt.org/bugs/view.php?id=27056 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/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.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | mantisbt/mantisbt | >=2.1.0, <2.24.2 |
2.24.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
mantisbt.org
/bugs/view.php?id=27056
web, exploit, issue-tracking, patch, vendor-advisory
-
github.com
/mantisbt/mantisbt/commit/9ef8f23a8119221d010251112b1255630a46d903
web
-
mantisbt.org
/blog/archives/mantisbt/665
web, release-notes, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-16266
advisory
-
github.com
/mantisbt/mantisbt
package
Sources
- CVE List CVE-2020-16266
- GitHub Advisory GHSA-4rrc-5vp6-m3f6
- NVD CVE-2020-16266
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.