CVE-2020-25830: MantisBT HTML Injection vulnerability
4.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.68382%
CWE
Published
5/24/2022
Updated
5/7/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mantisbt/mantisbt | composer | < 2.24.3 | 2.24.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped usage of a custom field's name in bug_actiongroup_page.php. The patch added string_attribute() around lang_get_defaulted(), confirming that the original implementation lacked proper output encoding. The lang_get_defaulted() function returns raw user-controlled data (custom field name), which was directly embedded into HTML without sanitization, creating an XSS vector. The file path and function are explicitly referenced in the commit diff and CVE description.