# Mantis Bug Tracker (MantisBT) vulnerable to cross-site scripting

Advisory record · `GHSA-wgx7-jp56-65mq`

- **Identifiers:** `GHSA-wgx7-jp56-65mq` · `CVE-2024-34081` · `PKSA-s5w7-qrwt-4ggd`
- **State:** Confirmed
- **Severity:** CVSS 6.6 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 13 May 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 May 2024, 16:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `mantisbt/mantisbt` (Packagist): affected `<2.26.2`; fixed in `2.26.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Mantis Bug Tracker (MantisBT) packages before 2.26.2 are vulnerable to cross-site scripting, because a custom field's name is not properly escaped. An attacker who can set a custom field name containing HTML could have it run JavaScript in a user's browser when that user resolves or closes issues, or views or prints issues with that field shown as a column, if CSP settings allow it. Upgrade the mantisbt/mantisbt Packagist package to version 2.26.2, which contains the fix; until then, the source suggests ensuring custom field names do not contain HTML tags.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.6 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0064, the 51st percentile, on 23 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:03 UTC: First seen by agentprime
- 31 Oct 2026, 14:03 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-wgx7-jp56-65mq)

## Sources

- [GitHub Advisory Database: GHSA-wgx7-jp56-65mq](https://github.com/advisories/GHSA-wgx7-jp56-65mq)
- [OSV: GHSA-wgx7-jp56-65mq](https://osv.dev/vulnerability/GHSA-wgx7-jp56-65mq)
- <https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mq>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34081>
- <https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be>
- <https://github.com/mantisbt/mantisbt>
- <https://mantisbt.org/bugs/view.php?id=34432>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-wgx7-jp56-65mq>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-wgx7-jp56-65mq/>. Everything for agents: <https://agentprime.io/llms.txt>.
