{"id":"GHSA-w973-2qcc-p78x","summary":"User Impersonation in converse.js","details":"Versions of `converse.js` prior to 1.0.7 for 1.x or 2.0.5 for 2.x are vulnerable to User Impersonation. The package provides an incorrect implementation of [XEP-0280: Message Carbons](https://xmpp.org/extensions/xep-0280.html) that allows a remote attacker to impersonate any user, including contacts, in the vulnerable application's display. This allows for various kinds of social engineering attacks.\n\n\n## Recommendation\n\nIf you're using `converse.js` 1.x, upgrade to 1.0.7 or later.\nIf you're using `converse.js` 2.x, upgrade to 2.0.5 or later.","aliases":["CVE-2017-5858"],"modified":"2023-11-08T03:59:23.283215Z","published":"2020-09-11T21:19:09Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:42:38Z","nvd_published_at":null,"cwe_ids":["CWE-20","CWE-346"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5858"},{"type":"WEB","url":"https://github.com/jcbrand/converse.js/commit/42f249cabbbf5c026398e6d3b350f6f9536ea572"},{"type":"PACKAGE","url":"https://github.com/jcbrand/converse.js"},{"type":"WEB","url":"https://rt-solutions.de/en/2017/02/CVE-2017-5589_xmpp_carbons"},{"type":"WEB","url":"https://rt-solutions.de/wp-content/uploads/2017/02/CVE-2017-5589_xmpp_carbons.pdf"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-CONVERSEJS-449664"},{"type":"WEB","url":"https://www.npmjs.com/advisories/974"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2017/02/09/29"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2017/02/09/29"},{"type":"WEB","url":"http://www.securityfocus.com/bid/96183"}],"affected":[{"package":{"name":"converse.js","ecosystem":"npm","purl":"pkg:npm/converse.js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-w973-2qcc-p78x/GHSA-w973-2qcc-p78x.json"}},{"package":{"name":"converse.js","ecosystem":"npm","purl":"pkg:npm/converse.js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.0.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-w973-2qcc-p78x/GHSA-w973-2qcc-p78x.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}