VDB
Sign up
MEDIUM5.9

GHSA-w973-2qcc-p78x

User Impersonation in converse.js

Quick fix

GHSA-w973-2qcc-p78x — converse.js: upgrade to the fixed version with the command below.

npm install converse.js@1.0.7

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.

## Recommendation

If you're using `converse.js` 1.x, upgrade to 1.0.7 or later. If you're using `converse.js` 2.x, upgrade to 2.0.5 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/converse.js
Introduced in: 0Fixed in: 1.0.7
Fixnpm install converse.js@1.0.7
npm/converse.js
Introduced in: 2.0.0Fixed in: 2.0.5
Fixnpm install converse.js@2.0.5

References