# CVE-2026-39960: MantisBT is Vulnerable to Stored XSS through Custom Field Textarea Values

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/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): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-05-11T19:34:32.000Z
- Modified: 2026-09-10T03:51:06.801Z
- Also known as: GHSA-qj6w-v29q-4rgx
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Mantis Bug Tracker (MantisBT) is an open source issue tracker. Versions 2.28.1 and below contain flawed logic that causes improper escaping of a textarea custom field's contents in the Update Issue page, (bug_update_page.php) allowing an attacker to inject HTML and, if CSP settings permit, execute arbitrary JavaScript when the page is loaded. This facilitates session theft, leading to admin account takeover, full project data access. In order to exploit this issue, a textarea-type custom field must be configured for the project, the attack must be carried out by an authenticated user with bug report permission (low privilege). This can affect any user viewing the bug edit form, including administrators. The issue has been fixed in version 2.28.2. If users cannot immediately upgrade, they can work around the issue by using the default Content-Security Policy, which blocks script execution.

(As written by CVE List.)

## Affected

- mantisbt mantisbt: < 2.28.2
- mantisbt/mantisbt (Packagist): before 2.28.2

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/mantisbt/mantisbt/security/advisories/GHSA-qj6w-v29q-4rgx> (web)
- <https://github.com/mantisbt/mantisbt/commit/5fec0f448b7a7d7d539a6adb6dccceac4e4e4ab7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39960> (advisory)
- <https://github.com/mantisbt/mantisbt> (package)
- <https://mantisbt.org/bugs/view.php?id=37003> (web)

## Sources

- CVE List: [CVE-2026-39960](https://www.cve.org/CVERecord?id=CVE-2026-39960), CVE Terms of Use, modified 2026-05-21
- GitHub Advisory Database: [GHSA-qj6w-v29q-4rgx](https://github.com/advisories/GHSA-qj6w-v29q-4rgx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-39960](https://nvd.nist.gov/vuln/detail/CVE-2026-39960), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-39960 · Whole record: https://cve.day/CVE-2026-39960.json · Rebuilt by cve.day 2026-11-25T22:59:22.076Z
