GHSA-qgrr-f26j-87vf
MantisBT XXS where a Custom Field with a crafted Regular Expression property is used
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | mantisbt/mantisbt | >= 2.23.0, < 2.24.3 | 2.24.3 |
Details
As written in the advisory (Markdown source, shown as plain 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.
References
External links from the advisory. They lead to third-party sites.