{"schema_version":"1.9.0","id":"RUSTSEC-2025-0043","published":"2025-07-11T12:00:00Z","modified":"2026-10-12T18:00:10.950538086Z","aliases":["CVE-2025-53549","GHSA-275g-g844-73jh"],"summary":"matrix-sdk-sqlite: SQL injection vulnerability in `SqliteEventCacheStore::find_event_with_relations`","details":"The `SqliteEventCacheStore::find_event_with_relations` function constructs SQL\nqueries using `format!()` with unescaped input, allowing an attacker to inject\narbitrary SQL. This results in a SQL injection vulnerability.","affected":[{"package":{"name":"matrix-sdk-sqlite","ecosystem":"crates.io","purl":"pkg:cargo/matrix-sdk-sqlite"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.11.0"},{"fixed":"0.13.0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":["matrix_sdk_sqlite::SqliteEventCacheStore::find_event_relations"],"os":[]}},"database_specific":{"categories":["format-injection"],"cvss":null,"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0043.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/matrix-sdk-sqlite"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2025-0043.html"},{"type":"WEB","url":"https://github.com/matrix-org/matrix-rust-sdk/pull/4849"}],"database_specific":{"license":"CC0-1.0"}}