SiYuan 3.8.0 before 3.8.10 contains an information disclosure vulnerability in LAN sync that allows adjacent unauthenticated attackers to obtain device metadata by advertising a counterfeit peer with a replayed discovery tag. The client sends the sync scope ID, device name, OS, app version, and TLS client certificate to /peer-sync/v1/session/open before validating the server proof.
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-x5cg-xgq2-x369
https://github.com/siyuan-note/siyuan/commit/d89aaf4ecb6b1d203145a72714265164e3eace97