ghsa-wgx7-jp56-65mq
Vulnerability from github
Published
2024-05-13 16:00
Modified
2024-05-14 20:01
Severity ?
VLAI Severity ?
Summary
Mantis Bug Tracker (MantisBT) vulnerable to cross-site scripting
Details
Improper escaping of a custom field's name allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript when: - resolving or closing issues (bug_change_status_page.php) belonging to a project linking said custom field - viewing issues (view_all_bug_page.php) when the custom field is displayed as a column - printing issues (print_all_bug_page.php) when the custom field is displayed as a column
Impact
Cross-site scripting (XSS).
Patches
https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be
Workarounds
Ensure Custom Field Names do not contain HTML tags.
References
- https://mantisbt.org/bugs/view.php?id=34432
- This is related to CVE-2020-25830 (same root cause, different affected pages)
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "mantisbt/mantisbt" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.26.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-34081" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2024-05-13T16:00:40Z", "nvd_published_at": "2024-05-14T15:38:30Z", "severity": "MODERATE" }, "details": "Improper escaping of a custom field\u0027s name allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript when:\n- resolving or closing issues (bug_change_status_page.php) belonging to a project linking said custom field\n- viewing issues (view_all_bug_page.php) when the custom field is displayed as a column\n- printing issues (print_all_bug_page.php) when the custom field is displayed as a column\n\n### Impact\nCross-site scripting (XSS).\n\n### Patches\nhttps://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be\n\n### Workarounds\nEnsure Custom Field Names do not contain HTML tags.\n\n### References\n- https://mantisbt.org/bugs/view.php?id=34432\n- This is related to CVE-2020-25830 (same root cause, different affected pages)\n", "id": "GHSA-wgx7-jp56-65mq", "modified": "2024-05-14T20:01:24Z", "published": "2024-05-13T16:00:40Z", "references": [ { "type": "WEB", "url": "https://github.com/mantisbt/mantisbt/security/advisories/GHSA-wgx7-jp56-65mq" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-34081" }, { "type": "WEB", "url": "https://github.com/mantisbt/mantisbt/commit/447a521aae0f82f791b8116a14a20e276df739be" }, { "type": "PACKAGE", "url": "https://github.com/mantisbt/mantisbt" }, { "type": "WEB", "url": "https://mantisbt.org/bugs/view.php?id=34432" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L", "type": "CVSS_V3" } ], "summary": "Mantis Bug Tracker (MantisBT) vulnerable to cross-site scripting " }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…