Katalog CVE

CVE-2026-44588

KrytyczneCVSS 9.4
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.60%

Percentyl 50 - wyżej niż 50% wszystkich znanych CVE

Streszczenie

SiYuan przed wersją 3.7.0 ma podatność XSS w obsłudze tooltipów, gdzie tytuł dokumentu zawierający kodowane URL znaki (np. %3Cimg src=x onerror=...%3E) jest dekodowany i wstawiany do innerHTML bez escapowania. Ponieważ renderer działa z nodeIntegration: true i wyłączonymi zabezpieczeniami, prowadzi to do wykonania dowolnego kodu.

Ocena ryzyka

Atakujący może wykonać dowolny kod w kontekście aplikacji, co prowadzi do pełnej kompromitacji systemu, w tym kradzieży danych i instalacji złośliwego oprogramowania.

Rekomendacja

Zaktualizuj SiYuan do wersji 3.7.0, która naprawia podatność.

Inne podatności w SiYuan

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, he tooltip mouseover handler in app/src/block/popover.ts reads aria-label via getAttribute and passes it through decodeURIComponent before assigning to messageElement.innerHTML in app/src/dialog/tooltip.ts:41. The encoder used at the producer side, escapeAriaLabel in app/src/util/escape.ts:19-25, only handles HTML special characters (", ', <, literal &lt;) — it leaves %XX URL-escapes untouched. So a doc title containing %3Cimg src=x onerror=...%3E round-trips through escapeAriaLabel and the HTML attribute layer unmodified. Then decodeURIComponent on the consumer side converts %3C to a literal < character (a real <, NOT a character reference). When that string is assigned to innerHTML, the HTML5 tokenizer enters TagOpenState on the literal <, parses the <img> element, and the onerror handler fires. Because the renderer runs with nodeIntegration: true, contextIsolation: false, webSecurity: false (app/electron/main.js:407-411), require('child_process') is reachable from the injected handler, escalating to arbitrary code execution.This vulnerability is fixed in 3.7.0.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS