# CVE-2020-35571: MantisBT XSS in manage_custom_field_update.php

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/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): 0.67%, higher than 53% of CVEs (2026-12-02)
- Published: 2021-02-22T02:23:53.000Z
- Modified: 2026-06-17T03:13:57.597Z
- Also known as: GHSA-cvrm-cr3m-qj92
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

An issue was discovered in MantisBT through 2.24.3. In the helper_ensure_confirmed call in manage_custom_field_update.php, the custom field name is not sanitized. This may be problematic depending on CSP settings.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mantisbt/mantisbt (Packagist): before 2.25.0
- mantisbt mantisbt: up to 2.24.3

## Every score

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

## References

- <https://mantisbt.org/bugs/view.php?id=27768> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35571> (advisory)
- <https://github.com/mantisbt/mantisbt/commit/100c3d58c3f6f12b7a6cf97fba473ede521f20db> (web)
- <https://github.com/mantisbt/mantisbt> (package)

## Sources

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

---

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