{"id":"GHSA-qgrr-f26j-87vf","aliases":["CVE-2020-25288"],"title":"MantisBT XXS where a Custom Field with a crafted Regular Expression property is used","description":"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.","severity":"medium","score":4.8,"published":"2022-05-24T17:29:50.000Z","modified":"2025-05-29T16:14:31.055Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"mantisbt/mantisbt","ranges":[{"events":[{"introduced":"2.23.0"},{"fixed":"2.24.3"}],"type":"ECOSYSTEM"}],"versions":["2.23.0","2.23.1","2.24.0","2.24.1","2.24.2"],"fixed":["2.24.3"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2020-25288","https://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c","https://github.com/mantisbt/mantisbt","https://mantisbt.org/bugs/view.php?id=27275","http://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c"],"sources":[{"name":"OSV","id":"GHSA-qgrr-f26j-87vf","modified":"2025-05-29T16:14:31.055257Z","url":"https://osv.dev/vulnerability/GHSA-qgrr-f26j-87vf"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8}]}