# CVE-2022-28508: MantisBT vulnerable to XSS via unescaped output in browser_search_plugin.php

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/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): 5.17%, higher than 92% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-04T13:50:55.000Z
- Modified: 2026-06-17T04:38:36.843Z
- Also known as: GHSA-wfg2-2wmw-6894
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

An XSS issue was discovered in browser_search_plugin.php in MantisBT before 2.25.2. Unescaped output of the return parameter allows an attacker to inject code into a hidden input field.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mantisbt/mantisbt (Packagist): up to 2.25.2
- mantisbt mantisbt: before 2.25.2

## Every score

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

## References

- <https://github.com/YavuzSahbaz/CVE-2022-28508/blob/main/MantisBT%202.25.2%20XSS%20vulnurability> (exploit, third-party-advisory, web)
- <https://mantisbt.org/> (vendor-advisory)
- <https://sourceforge.net/projects/mantisbt/> (product, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-28508> (advisory)
- <https://github.com/mantisbt/mantisbt> (package)
- <https://mantisbt.org> (web)
- <https://sourceforge.net/projects/mantisbt> (web)

## Sources

- CVE List: [CVE-2022-28508](https://www.cve.org/CVERecord?id=CVE-2022-28508), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-wfg2-2wmw-6894](https://github.com/advisories/GHSA-wfg2-2wmw-6894), CC-BY-4.0, modified 2025-06-09
- NVD: [CVE-2022-28508](https://nvd.nist.gov/vuln/detail/CVE-2022-28508), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-28508 · Whole record: https://cve.day/CVE-2022-28508.json · Rebuilt by cve.day 2026-11-25T22:58:11.404Z
