{"id":"CVE-2020-25288","aliases":["CVE-2020-25288","GHSA-qgrr-f26j-87vf"],"related":[],"kind":"vulnerability","state":"published","title":"MantisBT XXS where a Custom Field with a crafted Regular Expression property is used","summary":"An issue was discovered in MantisBT before 2.24.3. When editing an Issue in a Project where a Custom Field with a crafted Regular Expression property is used, improper escaping of the corresponding form input's pattern attribute allows HTML injection and, if CSP settings permit, execution of arbitrary JavaScript.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in MantisBT before 2.24.3. When editing an Issue in a Project where a Custom Field with a crafted Regular Expression property is used, improper escaping of the corresponding form input's pattern attribute allows HTML injection and, if CSP settings permit, execution of arbitrary JavaScript.","source":"cvelist"},{"lang":"es","text":"Se detectó un problema en MantisBT versiones anteriores a 2.24.3.&#xa0;Cuando se edita un problema en un proyecto donde se usa un campo personalizado con una propiedad de expresión regular diseñada, el escape incorrecto del atributo de patrón de entrada del formulario correspondiente permite la inyección de HTML y, si la configuración de CSP lo permite, una ejecución de JavaScript arbitrario","source":"nvd"}],"published":"2020-09-30T20:26:59.000Z","modified":"2026-06-17T03:06:43.970Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.23.0","status":"affected","fixed":"2.24.3"}],"ecosystem":"Packagist","package":"mantisbt/mantisbt","purl":"pkg:composer/mantisbt/mantisbt","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.24.3"}],"vendor":"mantisbt","product":"mantisbt","cpe":"cpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mantisbt.org/bugs/view.php?id=27275","tags":["exploit","patch","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25288","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c","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-2020-25288","url":"https://www.cve.org/CVERecord?id=CVE-2020-25288","licence":"CVE Terms of Use","modified":"2024-08-04T15:33:05.625Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qgrr-f26j-87vf","url":"https://github.com/advisories/GHSA-qgrr-f26j-87vf","licence":"CC-BY-4.0","modified":"2025-05-29T16:14:31.055Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-25288","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25288","licence":"Public domain","modified":"2026-06-17T03:06:43.970Z"}],"updatedAt":"2026-11-25T22:57:54.997Z","epss":{"score":0.0149,"percentile":0.74843,"date":"2026-12-01T12:00:22.000Z"}}