Skip to content
Heist/ feed
Back to feed
High

Prototype pollution in matrix-react-sdk

Type: advisorySources: OSV

matrix-react-sdk is a Matrix chat protocol SDK for React Javascript. Events sent with special strings in key places can temporarily disrupt or impede the matrix-react-sdk from functioning properly, such as by causing room or event tile crashes. The remainder of the application can appear functional, though certain rooms/events will not be rendered. This issue has been fixed in matrix-react-sdk 3.53.0 and users are advised to upgrade. There are no known workarounds for this vulnerability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-36060
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:12 UTC · Revision 1

Source evidence

Prototype pollution in matrix-react-sdk

core-osv · Original source

Published 28 Mar 2023, 20:37 UTC

matrix-react-sdk is a Matrix chat protocol SDK for React Javascript. Events sent with special strings in key places can temporarily disrupt or impede the matrix-react-sdk from functioning properly, such as by causing room or event tile crashes. The remainder of the application can appear functional, though certain rooms/events will not be rendered. This issue has been fixed in matrix-react-sdk 3.53.0 and users are advised to upgrade. There are no known workarounds for this vulnerability.

osv:CVE-2022-36060
Complete source record
{
  "id": "2f86ade375256248418456333f8fe586b0a05a5337901d19ed9f3eaf2b03a768",
  "url": "https://osv.dev/vulnerability/CVE-2022-36060",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Prototype pollution in matrix-react-sdk",
    "summary": "matrix-react-sdk is a Matrix chat protocol SDK for React Javascript. Events sent with special strings in key places can temporarily disrupt or impede the matrix-react-sdk from functioning properly, such as by causing room or event tile crashes. The remainder of the application can appear functional, though certain rooms/events will not be rendered. This issue has been fixed in matrix-react-sdk 3.53.0 and users are advised to upgrade. There are no known workarounds for this vulnerability.",
    "evidence": "osv:CVE-2022-36060",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-36060",
      "aliases": [
        "CVE-2022-36060",
        "GHSA-2x9c-qwgf-94xr"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/matrix-org/matrix-react-sdk",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e064f05d88e88893558ff5aa50ab4560f166c6dd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.53.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:matrix:react_sdk:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.53.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.53.0-rc.2",
            "v3.53.0-rc.1",
            "v3.0.0",
            "v2.2.2",
            "v2.1.1",
            "v1.7.2",
            "v1.6.1",
            "v0.12.6",
            "v0.12.4",
            "v0.12.6-rc.1",
            "v0.12.5",
            "v0.12.4-rc.6",
            "v0.12.4-rc.5",
            "v0.12.4-rc.4",
            "v0.12.4-rc.3",
            "v0.12.4-rc.2",
            "v0.12.4-rc.1",
            "v0.10.2",
            "v0.9.1",
            "v0.9.0",
            "v0.9.0-rc.2",
            "v0.8.6-rc.2",
            "v0.8.6-rc.1",
            "v0.8.3",
            "v0.8.2",
            "v0.8.0",
            "v0.7.5-rc.1",
            "v0.7.4",
            "v0.7.3",
            "v0.7.2",
            "v0.7.0-rc2",
            "v0.7.0-rc1",
            "v0.6.5",
            "v0.6.4-r1",
            "v0.6.4",
            "v0.6.3",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.4.0",
            "v0.3.1",
            "v0.3.0",
            "v0.2.0",
            "v0.1.1",
            "v0.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-36060.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.287850876Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36060.json",
        "https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-2x9c-qwgf-94xr",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-36060"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1321"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36060.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-36060",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508941,
  "published_at": "2023-03-28T20:37:28.691+00:00"
}