GHSA-qgrr-f26j-87vfmedium4.8
MantisBT XXS where a Custom Field with a crafted Regular Expression property is used
The advisory, in context
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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
mantisbt/mantisbt Packagist
Ecosystem versions
From 2.23.0 before 2.24.3
Fixed in 2.24.3
5 explicitly affected versions
2.23.0, 2.23.1, 2.24.0, 2.24.1, 2.24.2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.23.0"
},
{
"fixed": "2.24.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.23.0",
"2.23.1",
"2.24.0",
"2.24.1",
"2.24.2"
]
}