{"id":"CVE-2020-25288","published":"2020-09-30T20:26:59Z","modified":"2024-08-04T15:33:05Z","title":"An issue was discovered in MantisBT before 2.24.3","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0149,"percentile":0.74726,"provenance":"source"},"cwes":[],"references":[{"url":"https://mantisbt.org/bugs/view.php?id=27275","tags":["x_refsource_MISC"]},{"url":"http://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":14.95}]},"affected":[{"ecosystem":"Packagist","package":"mantisbt/mantisbt","vulnerableRanges":[">=2.23.0, <2.24.3"],"patched":["2.24.3"],"from":["GHSA-qgrr-f26j-87vf"],"provenance":"source"}],"summary":{"text":"The flaw is an improper escaping issue in MantisBT before 2.24.3, affecting the form input pattern attribute generated for Custom Fields when editing an Issue. The affected behaviour occurs in Projects where a Custom Field uses a crafted Regular Expression property. An attacker can inject HTML and, where the Content Security Policy settings permit it, execute arbitrary JavaScript, which requires that a Custom Field with a crafted Regular Expression property is in use in the relevant Project and that a user edits an affected Issue.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:22Z"},"euvd":{"id":"EUVD-2020-17976","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-15539","published":"2020-03-19","fixed":"2.21.3","kev":false},{"cve":"CVE-2019-15715","published":"2019-10-09","fixed":"2.22.1","kev":false},{"cve":"CVE-2020-16266","published":"2020-08-12","fixed":"2.24.2","kev":false,"link":{"from":"CVE-2020-16266","to":"CVE-2020-25288","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:mantisbt/mantisbt","fromFixed":"2.24.2","toFixed":"2.24.3","daysApart":49}]}},{"cve":"CVE-2020-25288","published":"2020-09-30","fixed":"2.24.3","kev":false},{"cve":"CVE-2020-25781","published":"2020-09-30","fixed":"2.24.3","kev":false},{"cve":"CVE-2020-25830","published":"2020-09-30","fixed":"2.24.3","kev":false},{"cve":"CVE-2020-28413","published":"2020-12-30","fixed":"2.24.4","kev":false}],"package":"Packagist:mantisbt/mantisbt"}}