GHSA-52rh-5rpj-c3w6HighCVSS 8.0Disclosed before NVD

Improper handling of multiline messages in node-irc

Published
May 5, 2022
Last Modified
February 11, 2026

📋 Description

node-irc is a socket wrapper for the IRC protocol that extends Node.js' EventEmitter. The vulnerability allows an attacker to manipulate a Matrix user into executing IRC commands by having them reply to a maliciously crafted message. Incorrect handling of a CR character allowed for making part of the message be sent to the IRC server verbatim rather than as a message to the channel. The vulnerability has been patched in node-irc version 1.2.1.

🎯 Affected products1

  • npm/matrix-org-irc:<= 1.2.0

🔗 References (6)