# CVE-2021-33557: MantisBT allows XSS in manage_custom_field_edit_page.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): 1.82%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-17T18:14:52.000Z
- Modified: 2026-06-17T03:54:47.503Z
- Also known as: GHSA-52cx-vphc-jmjm
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

An XSS issue was discovered in manage_custom_field_edit_page.php in MantisBT before 2.25.2. Unescaped output of the return parameter allows an attacker to inject code into a hidden input field.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mantisbt/mantisbt (Packagist): before 2.25.2
- mantisbt mantisbt: before 2.25.2

## 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=28552> (exploit, vendor-advisory, web)
- <https://mantisbt.org/blog/archives/mantisbt/699> (release-notes, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-33557> (advisory)
- <https://github.com/mantisbt/mantisbt/commit/03dd37221e636f8959b8cb9fbad84f38f9582356> (web)
- <https://github.com/mantisbt/mantisbt> (package)

## Sources

- CVE List: [CVE-2021-33557](https://www.cve.org/CVERecord?id=CVE-2021-33557), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-52cx-vphc-jmjm](https://github.com/advisories/GHSA-52cx-vphc-jmjm), CC-BY-4.0, modified 2025-05-29
- NVD: [CVE-2021-33557](https://nvd.nist.gov/vuln/detail/CVE-2021-33557), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-33557 · Whole record: https://cve.day/CVE-2021-33557.json · Rebuilt by cve.day 2026-11-25T22:58:01.988Z
