GitHub Advisoryadvisory · Packagist
GHSA-qgrr-f26j-87vf MantisBT XXS where a Custom Field with a crafted Regular Expression property is used
MEDIUM
Official page ↗
- Aliases
- CVE-2020-25288
- Ecosystem
- Packagist
- Packages
- mantisbt/mantisbt
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2025-05-29
Affected packages
• Packagist mantisbt/mantisbt: >= 2.23.0, < 2.24.3 → fixed in 2.24.3
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.
Related
Alias · CVE (1)
- CVE-2020-25288 An issue was discovered in MantisBT before 2.24.3. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-25288 advisory
- https://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c web
- https://github.com/mantisbt/mantisbt package
- https://mantisbt.org/bugs/view.php?id=27275 web
- http://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c web