CVE-2026-54068
Beschrijving NL
SiYuan is een open-source persoonlijk kennismanagementsysteem. Voorafgaand aan 3.7.0 is het /api/icon/getDynamicIcon-eindpunt expliciet uitgesloten van verificatie in de kernelrouter van SiYuan (router.go, "不需要鉴权" -- geen auth nodig). Wanneer dit eindpunt wordt aangeroepen met type=8 en een geldige blok-id-parameter, roept het RenderDynamicIconContentTemplate aan, dat een Go-sjabloon uitvoert dat de functies querySQL en queryBlocks bevat. Deze functies voeren willekeurige SELECT-INSTRUCTIES uit tegen de SiYuan SQLite-database. Een niet-geverifieerde netwerk-gerelateerde aanvaller die een geldige blok-ID kent, kan alle gebruikersnotitie-inhoud, tags, activareferenties en blokattributen uit de database exfiltreren. Deze kwetsbaarheid is opgelost in 3.7.0.
Origineel (Engels) tonen
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the /api/icon/getDynamicIcon endpoint is explicitly excluded from authentication in SiYuan's kernel router (router.go, "不需要鉴权" -- no auth needed). When called with type=8 and a valid block id parameter, this endpoint invokes RenderDynamicIconContentTemplate, which executes a Go template that includes the querySQL and queryBlocks functions. These functions run arbitrary SELECT statements against the SiYuan SQLite database. An unauthenticated network-adjacent attacker who knows a valid block ID can exfiltrate all user note content, tags, asset references, and block attributes from the database. This vulnerability is fixed in 3.7.0.