{"id":"GHSA-qgrr-f26j-87vf","summary":"MantisBT XXS where a Custom Field with a crafted Regular Expression property is used","details":"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.","aliases":["CVE-2020-25288"],"modified":"2025-05-29T16:27:10.857957Z","published":"2022-05-24T17:29:50Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-05-29T15:45:29Z","nvd_published_at":"2020-09-30T21:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25288"},{"type":"WEB","url":"https://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c"},{"type":"PACKAGE","url":"https://github.com/mantisbt/mantisbt"},{"type":"WEB","url":"https://mantisbt.org/bugs/view.php?id=27275"},{"type":"WEB","url":"http://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c"}],"affected":[{"package":{"name":"mantisbt/mantisbt","ecosystem":"Packagist","purl":"pkg:composer/mantisbt/mantisbt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.23.0"},{"fixed":"2.24.3"}]}],"versions":["2.23.0","2.23.1","2.24.0","2.24.1","2.24.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-qgrr-f26j-87vf/GHSA-qgrr-f26j-87vf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"}]}