{"id":"GHSA-8vx9-hcvq-gfv8","summary":"MantisBT XSS through weak CSP when using Gravatar plugin","details":"MantisBT before 1.3.1 and 2.x before 2.0.0-beta.2 uses a weak Content Security Policy when using the Gravatar plugin, which allows remote attackers to conduct cross-site scripting (XSS) attacks via unspecified vectors.","aliases":["CVE-2016-7111"],"modified":"2025-06-11T19:57:18.512750Z","published":"2022-05-17T02:58:01Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-06-11T18:55:13Z","nvd_published_at":"2017-02-17T17:59:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7111"},{"type":"WEB","url":"https://github.com/mantisbt/mantisbt/commit/b3511d2feb47eaee41feb5f69cf3c8a2c9acd229"},{"type":"PACKAGE","url":"https://github.com/mantisbt/mantisbt"},{"type":"WEB","url":"https://mantisbt.org/bugs/view.php?id=21263"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/08/28/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/08/29/2"}],"affected":[{"package":{"name":"mantisbt/mantisbt","ecosystem":"Packagist","purl":"pkg:composer/mantisbt/mantisbt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 1.3.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8vx9-hcvq-gfv8/GHSA-8vx9-hcvq-gfv8.json"}},{"package":{"name":"mantisbt/mantisbt","ecosystem":"Packagist","purl":"pkg:composer/mantisbt/mantisbt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0-beta.1"},{"fixed":"2.0.0-beta.2"}]}],"versions":["2.0.0-beta.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8vx9-hcvq-gfv8/GHSA-8vx9-hcvq-gfv8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}