Skip to content

CVE-2020-25288 MantisBT XXS where a Custom Field with a crafted Regular Expression property is used

MediumCVSS 4.8 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known
Technology
PHP

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
mantisbt < 2.24.3 2.24.3 Fixed
mantisbt(Packagist) = 2.23.0; = 2.23.1; = 2.24.0; = 2.24.1 +2 more 2.24.3 Fixed

Affected products

ProductAffected versionsFixed in
mantisbt(Packagist) >= 2.23.0, < 2.24.3 2.24.3
mantisbt(Packagist) = 2.23.0 No fix listed
mantisbt(Packagist) = 2.23.1 No fix listed
mantisbt(Packagist) = 2.24.0 No fix listed
mantisbt(Packagist) = 2.24.1 No fix listed
mantisbt(Packagist) = 2.24.2 No fix listed
mantisbt < 2.24.3 2.24.3

References