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.
References (2)
Core 2
Core References
Exploit, Patch, Vendor Advisory x_refsource_misc
https://mantisbt.org/bugs/view.php?id=27275
Patch, Third Party Advisory x_refsource_misc
http://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c
Scores
CVSS v3
4.8
EPSS
0.0075
EPSS Percentile
73.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (2)
mantisbt/mantisbt
< 2.24.3
mantisbt/mantisbt
2.23.0 - 2.24.3Packagist
Published
Sep 30, 2020
Tracked Since
Feb 18, 2026