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

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.49%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-30T20:26:59.000Z
- Modified: 2026-06-17T03:06:43.970Z
- Also known as: GHSA-qgrr-f26j-87vf
- Weaknesses: CWE-79
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mantisbt/mantisbt (Packagist): from 2.23.0 before 2.24.3
- mantisbt mantisbt: before 2.24.3

## Every score

- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://mantisbt.org/bugs/view.php?id=27275> (exploit, patch, vendor-advisory, web)
- <http://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25288> (advisory)
- <https://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c> (web)
- <https://github.com/mantisbt/mantisbt> (package)

## Sources

- CVE List: [CVE-2020-25288](https://www.cve.org/CVERecord?id=CVE-2020-25288), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-qgrr-f26j-87vf](https://github.com/advisories/GHSA-qgrr-f26j-87vf), CC-BY-4.0, modified 2025-05-29
- NVD: [CVE-2020-25288](https://nvd.nist.gov/vuln/detail/CVE-2020-25288), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-25288 · Whole record: https://cve.day/CVE-2020-25288.json · Rebuilt by cve.day 2026-11-25T22:57:54.997Z
