CVE-2021-33557
6.1medium
MantisBT allows XSS in manage_custom_field_edit_page.php
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.82% (higher than 79% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-52cx-vphc-jmjm
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| mantisbt/mantisbt (Packagist) | before 2.25.2 | GitHub Advisory Database |
| mantisbt mantisbt | before 2.25.2 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha detectado un problema de tipo XSS en el archivo manage_custom_field_edit_page.php en MantisBT versiones anteriores a 2.25.2. La salida sin escape del parámetro return permite a un atacante inyectar código en un campo hidden input
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-33557 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-52cx-vphc-jmjm changed 2025-05-29 | CC-BY-4.0 |
| NVD | CVE-2021-33557 changed 2026-06-17 | Public domain |