Medium

Matrix-appservice-irc vulnerable to sql injection via roomIds argument

  • Disclosed: 13.11.2022
  • Updated: 11.10.2026 10:22

A vulnerability was found in matrix-appservice-irc up to 0.35.1. This vulnerability affects the file src/datastore/postgres/PgDataStore.ts. The manipulation of the argument roomIds leads to sql injection. Upgrading to version 0.36.0 is able to address this issue. The name of the patch is 179313a37f06b298150edba3e2b0e5a73c1415e7. It is recommended to upgrade the affected component.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package matrix-appservice-irc < 0.36.0 0.36.0

References

CVSS score 5.6/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness (CWE)
CWE-89
Platform
npm
Package
matrix-appservice-irc
Disclosed
13.11.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-ffwf-47x2-jpr8 - CC BY 4.0

Vulnerability history: matrix-appservice-irc

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (9) in the archive
Total entries
9
First → latest
05.2022 02.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 5
  • Low 2

Disclosures per year

  1. 2022: 4
  2. 2023: 2
  3. 2024: 2
  4. 2025: 1
  5. 2026: 0
Severity:
  1. Matrix-appservice-irc vulnerable to sql injection via roomIds argument this entry
    Medium · 5.6 CVE-2022-3971 < 0.36.0 0.36.0
  2. High · 8.8 CVE-2022-39203 < 0.35.0 0.35.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.