{"id":"CVE-2021-33557","aliases":["CVE-2021-33557","GHSA-52cx-vphc-jmjm"],"related":[],"kind":"vulnerability","state":"published","title":"MantisBT allows XSS in manage_custom_field_edit_page.php","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-06-17T18:14:52.000Z","modified":"2026-06-17T03:54:47.503Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.25.2"}],"ecosystem":"Packagist","package":"mantisbt/mantisbt","purl":"pkg:composer/mantisbt/mantisbt","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.25.2"}],"vendor":"mantisbt","product":"mantisbt","cpe":"cpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mantisbt.org/bugs/view.php?id=28552","tags":["exploit","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://mantisbt.org/blog/archives/mantisbt/699","tags":["release-notes","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33557","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mantisbt/mantisbt/commit/03dd37221e636f8959b8cb9fbad84f38f9582356","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mantisbt/mantisbt","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-33557","url":"https://www.cve.org/CVERecord?id=CVE-2021-33557","licence":"CVE Terms of Use","modified":"2024-08-03T23:50:43.162Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-52cx-vphc-jmjm","url":"https://github.com/advisories/GHSA-52cx-vphc-jmjm","licence":"CC-BY-4.0","modified":"2025-05-29T19:57:17.679Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-33557","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33557","licence":"Public domain","modified":"2026-06-17T03:54:47.503Z"}],"updatedAt":"2026-11-25T22:58:01.988Z","epss":{"score":0.01825,"percentile":0.79426,"date":"2026-12-01T12:00:22.000Z"}}