CVE-2017-5858: User Impersonation in converse.js

converse.js Updated 02 Oct 2025

Summary

11/09/2020
Yes i
Moderate
5.9

CVE-2017-5858: User Impersonation in converse.js. Affects converse.js across 2 version ranges.

< 1.0.7 >= 2.0.0, < 2.0.5

Fixed in 1.0.7 or 2.0.5, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

converse.js is an open-source JavaScript library that provides a chat interface for web applications. It allows users to communicate via XMPP (Extensible Messaging and Presence Protocol) and provides various features for real-time messaging. However, versions prior to 1.0.7 for 1.x or 2.0.5 for 2.x are vulnerable to User Impersonation.

Vulnerability Detail

The vulnerability in converse.js arises from an incorrect implementation of XEP-0280: Message Carbons, an XMPP extension. This flaw allows a remote attacker to impersonate any user, including contacts, in the affected application's display. As a result, the attacker can perform social engineering attacks and manipulate users into taking malicious actions.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.0.7 1.0.7
    npm install converse.js@1.0.7
  • >= 2.0.0, < 2.0.5 2.0.5
    npm install converse.js@2.0.5

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Conclusion

The vulnerability in converse.js allows for user impersonation, which can lead to social engineering attacks and manipulation of users. To mitigate this risk, it is crucial to upgrade to the patched versions (1.0.7 or later for 1.x, and 2.0.5 or later for 2.x). For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for converse.js →

Share this vulnerability

FAQ

converse.js is an open-source JavaScript library that provides a chat interface for web applications, enabling real-time messaging via XMPP.

XEP-0280 is an XMPP extension that allows message synchronization across multiple devices. It ensures that messages sent or received on one device are also delivered to other connected devices.

The vulnerability allows a remote attacker to impersonate any user in the application's display, including contacts. This can lead to social engineering attacks and manipulation of users into performing malicious actions.

No, only versions prior to 1.0.7 for 1.x and 2.0.5 for 2.x are vulnerable. It is recommended to upgrade to the patched versions to mitigate the risk.

No, upgrading to the patched versions is the recommended solution. There are no known workarounds to address this vulnerability.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.0.7 1.0.7
    npm install converse.js@1.0.7
  • >= 2.0.0, < 2.0.5 2.0.5
    npm install converse.js@2.0.5

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback