{"id":"CVE-2023-28427","published":"2023-03-28T20:32:22Z","modified":"2025-02-18T20:03:47Z","title":"Prototype pollution in matrix-js-sdk","vendor":"matrix-org","product":"matrix-js-sdk","tier":"tail","description":{"text":"matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. In versions prior to 24.0.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 vulnerability is distinct from GHSA-rfv9-x7hh-xc32 which covers a similar issue. The issue has been patched in matrix-js-sdk 24.0.0 and users are advised to upgrade. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01545,"percentile":0.75283,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-mwq8-fjpf-c2gr","tags":["x_refsource_CONFIRM"]},{"url":"https://matrix.org/blog/2023/03/28/security-releases-matrix-js-sdk-24-0-0-and-matrix-react-sdk-3-69-0","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2023/dsa-5392","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00027.html","tags":[]},{"url":"https://security.gentoo.org/glsa/202305-36","tags":[]}],"priority":{"score":20.8,"factors":[{"name":"EPSS percentile","points":15.06},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"matrix-js-sdk","versions":["< 24.0.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-18T20:03:37.180251Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"matrix-js-sdk","vulnerableRanges":["<24.0.0"],"patched":["24.0.0"],"from":["GHSA-mwq8-fjpf-c2gr"],"provenance":"source"}],"summary":{"text":"Prototype pollution in matrix-js-sdk, the JavaScript Client-Server SDK for the Matrix messaging protocol, affects versions prior to 24.0.0 when events containing special strings in key positions are processed. An attacker who can send such events to a client can cause the SDK to misbehave, potentially excluding or corrupting runtime data presented to the consumer while appearing to operate normally, and the issue is fixed in 24.0.0 with no known workarounds.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:29Z"},"euvd":{"id":"EUVD-2023-1061","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-matrix-org-matrix-js-sdk-cve-2022-36059","parents":[{"from":"CVE-2022-36059","to":"CVE-2023-28427","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-mwq8-fjpf-c2gr","via":"reference","url":"https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-rfv9-x7hh-xc32"},{"kind":"similar","provenance":"machine","score":0.56,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2022-39249","published":"2022-09-28","fixed":"19.7.0","kev":false},{"cve":"CVE-2022-39250","published":"2022-09-29","fixed":"19.7.0","kev":false},{"cve":"CVE-2022-39251","published":"2022-09-28","fixed":"19.7.0","kev":false},{"cve":"CVE-2023-28427","published":"2023-03-28","fixed":"24.0.0","kev":false},{"cve":"CVE-2023-29529","published":"2023-04-14","fixed":"24.1.0","kev":false,"link":{"from":"CVE-2023-28427","to":"CVE-2023-29529","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:matrix-js-sdk","fromFixed":"24.0.0","toFixed":"24.1.0","daysApart":17}]}},{"cve":"CVE-2024-42369","published":"2024-08-20","fixed":"34.3.1","kev":false},{"cve":"CVE-2024-47080","published":"2024-10-15","fixed":"34.8.0","kev":false}],"package":"npm:matrix-js-sdk"}}