GHSA-52rh-5rpj-c3w6

    Dashboard / Vulnerabilities / GHSA-52rh-5rpj-c3w6

    GHSA-52rh-5rpj-c3w6

    Published: 5 May 2022Last Modified: 11 Feb 2026

    Summary: Improper handling of multiline messages in node-irc

    Details: 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 packages

    Package

    Name: matrix-org-irc

    Purl: pkg:npm/matrix-org-irc

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.2.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-52rh-5rpj-c3w6 | CVE-DB