{"schemaVersion":3,"id":"CVE-2022-36059","aliases":["UBUNTU-CVE-2022-36059","DEBIAN-CVE-2022-36059","GHSA-rfv9-x7hh-xc32","openSUSE-SU-2024:12294-1","openSUSE-SU-2024:12295-1"],"status":"published","duplicateOf":null,"title":null,"description":"matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. In versions prior to 19.4.0 events sent with special strings in key places can temporarily disrupt or impede the matrix-js-sdk from functioning properly, potentially impacting the consumer's ability to process data safely. Note that the matrix-js-sdk can appear to be operating normally but be excluding or corrupting runtime data presented to the consumer. This issue has been fixed in matrix-js-sdk 19.4.0 and users are advised to upgrade. Users unable to upgrade may mitigate this issue by redacting applicable events, waiting for the sync processor to store data, and restarting the client. Alternatively, redacting the applicable events and clearing all storage will often fix most perceived issues. In some cases, no workarounds are possible.","dates":{"published":"2023-03-28T20:32:18.422Z","modified":"2025-02-18T20:05:37.448Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":10,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00932,"percentile":0.60279,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.008000000000000021,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.0094},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00932,"percentile":0.60279}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0094,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00932,"percentile":0.60279}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","description":"The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1321.html"}],"affected":[{"vendor":"debian","product":"thunderbird","name":"thunderbird","label":"thunderbird","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/thunderbird","purlType":"deb","versions":[{"text":"< 1:102.2.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:102.2.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"node-matrix-js-sdk","name":"node-matrix-js-sdk","label":"node-matrix-js-sdk","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/node-matrix-js-sdk","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"thunderbird","name":"thunderbird","label":"thunderbird","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/thunderbird","purlType":"deb","versions":[{"text":"< 1:102.2.2+build1-0ubuntu0.18.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:102.2.2+build1-0ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:102.2.2+build1-0ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:102.2.2+build1-0ubuntu0.18.04.1 | < 1:102.2.2+build1-0ubuntu0.20.04.1 | < 1:102.2.2+build1-0ubuntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"matrix-org","product":"matrix-js-sdk","name":"matrix-js-sdk","label":"matrix-js-sdk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 19.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 19.4.0","eol":null,"hubHref":"/vendor/matrix-org/matrix-js-sdk"},{"vendor":"matrix","product":"javascript_sdk","name":"javascript sdk","label":"javascript_sdk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 19.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 19.4.0","eol":null,"hubHref":"/vendor/matrix/javascript_sdk"},{"vendor":"Npm","product":"matrix-js-sdk","name":"matrix-js-sdk","label":"matrix-js-sdk","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/matrix-js-sdk","purlType":"npm","versions":[{"text":"< 19.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 19.4.0","eol":null,"hubHref":null},{"vendor":"opensuse","product":"element-desktop&distro=openSUSE Tumbleweed","name":"element-desktop","label":"element-desktop&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/element-desktop&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.11.4-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.11.4-1.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"element-web&distro=openSUSE Tumbleweed","name":"element-web","label":"element-web&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/element-web&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.11.4-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.11.4-1.1","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-rfv9-x7hh-xc32","label":"github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-rfv9-x7hh-xc32","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-36059","label":"ubuntu.com/security/CVE-2022-36059","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-38/#CVE-2022-36059","label":"www.mozilla.org/en-US/security/advisories/mfsa2022-38/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://matrix.org/blog/2022/08/31/security-releases-matrix-js-sdk-19-4-0-and-matrix-react-sdk-3-53-0","label":"matrix.org/blog/2022/08/31/security-releases-matrix-js-sdk-19-4-0-and-matrix-react-sdk-3-53-0","hostname":"matrix.org","tags":["REPORT"]},{"url":"https://github.com/matrix-org/matrix-js-sdk/commit/8716c1ab9ba93659173b806097c46a2be115199f","label":"github.com/matrix-org/matrix-js-sdk/commit/8716c1ab9ba93659173b806097c46a2be115199f","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5663-1","label":"ubuntu.com/security/notices/USN-5663-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-36059","label":"www.cve.org/CVERecord?id=CVE-2022-36059","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-36059","label":"security-tracker.debian.org/tracker/CVE-2022-36059","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36059","label":"nvd.nist.gov/vuln/detail/CVE-2022-36059","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/matrix-org/matrix-js-sdk","label":"github.com/matrix-org/matrix-js-sdk","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.4.0","label":"github.com/matrix-org/matrix-js-sdk/releases/tag/v19.4.0","hostname":"github.com","tags":["WEB"]},{"url":"https://www.suse.com/security/cve/CVE-2022-36059","label":"www.suse.com/security/cve/CVE-2022-36059","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:12299-1","RHSA-2022:6708","RHSA-2022:6710","RHSA-2022:6713","RHSA-2022:6715","RHSA-2022:6716","RHSA-2022:6717","SUSE-SU-2022:3281-1","USN-5663-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12299-1","SUSE-SU-2022:3281-1","USN-5663-1"]},"timeline":[{"kind":"published","date":"2023-03-28T20:32:18.422Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-18T20:05:37.448Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T21:36:12.003Z","stale":false,"partial":false}}