# CVE-2020-16266: MantisBT XSS issue on the view_all_bug_page.php

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.18%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-08-12T12:59:54.000Z
- Modified: 2026-06-17T02:57:57.997Z
- Also known as: GHSA-4rrc-5vp6-m3f6
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mantisbt/mantisbt (Packagist): from 2.1.0 before 2.24.2
- mantisbt mantisbt: before 2.24.2

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://mantisbt.org/bugs/view.php?id=27056> (exploit, issue-tracking, patch, vendor-advisory, web)
- <https://mantisbt.org/blog/archives/mantisbt/665> (release-notes, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-16266> (advisory)
- <https://github.com/mantisbt/mantisbt/commit/9ef8f23a8119221d010251112b1255630a46d903> (web)
- <https://github.com/mantisbt/mantisbt> (package)

## Sources

- CVE List: [CVE-2020-16266](https://www.cve.org/CVERecord?id=CVE-2020-16266), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-4rrc-5vp6-m3f6](https://github.com/advisories/GHSA-4rrc-5vp6-m3f6), CC-BY-4.0, modified 2025-05-29
- NVD: [CVE-2020-16266](https://nvd.nist.gov/vuln/detail/CVE-2020-16266), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-16266 · Whole record: https://cve.day/CVE-2020-16266.json · Rebuilt by cve.day 2026-11-25T22:57:53.985Z
