GHSA-74gh-5j33-vg4w

Suggest an improvement
Source
https://github.com/advisories/GHSA-74gh-5j33-vg4w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-74gh-5j33-vg4w/GHSA-74gh-5j33-vg4w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-74gh-5j33-vg4w
Aliases
Published
2022-05-14T02:57:54Z
Modified
2025-05-30T14:57:11Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
MantisBT allows XSS on the Edit Filter page via crafted filter name
Details

An issue was discovered in manage_filter_edit_page.php in MantisBT 2.x through 2.15.0. A cross-site scripting (XSS) vulnerability in the Edit Filter page allows execution of arbitrary code (if CSP settings permit it) when displaying a filter with a crafted name (e.g., 'foobar" onclick="alert(1)').

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-05-30T14:39:52Z",
    "nvd_published_at": "2018-08-03T18:29:00Z",
    "severity": "MODERATE"
}
References

Affected packages

Packagist / mantisbt/mantisbt

Package

Name
mantisbt/mantisbt
Purl
pkg:composer/mantisbt/mantisbt

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.15.1

Affected versions

2.*
2.3.0
2.3.1
2.3.2
2.3.3
2.4.0
2.4.1
2.4.2
2.5.0
2.5.1
2.5.2
2.6.0
2.7.0
2.7.1
2.8.0
2.8.1
2.9.0
2.9.1
2.10.0
2.10.1
2.11.0
2.11.1
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
2.13.2
2.14.0
2.15.0

Database specific

last_known_affected_version_range
"<= 2.15.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-74gh-5j33-vg4w/GHSA-74gh-5j33-vg4w.json"