{"id":"EUVD-2026-39127","revision":"29c3eea653394622b09cfa7b9df05d45","records":[{"revision":"29c3eea653394622b09cfa7b9df05d45","observedAt":"2026-11-07T12:28:41.879+00:00","statement":{"source":"euvd","id":"EUVD-2026-39127","aliases":["CVE-2026-54158","GHSA-5xfx-xj4h-5p7r"],"title":"SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the attribute-view (database) cell renderer genAVValueHTML interpolates cell content raw in four of its branches: text, url, phone, and mAsset. A cell value like…","description":"SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the attribute-view (database) cell renderer genAVValueHTML interpolates cell content raw in four of its branches: text, url, phone, and mAsset. A cell value like </textarea><img src=x onerror=\"...\"> or \"><img src=x onerror=\"...\"> breaks out of its surrounding tag and runs arbitrary JavaScript in the renderer when the victim opens the block-attribute panel. On Electron desktop the renderer runs with nodeIntegration:true, so the XSS chains to host RCE via require('child_process'). AV files live under the workspace and ride normal sync, so an attacker with write access to any synced workspace plants the payload once and it fires on every device that opens a panel containing that row.he kernel doesn't escape on the way in either, so the malicious cell persists byte-for-byte. There's no equivalent of the html.EscapeAttrVal call that protects block IAL attributes at kernel/model/blockial.go:261. This vulnerability is fixed in 3.7.0.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"severity":null}],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-5xfx-xj4h-5p7r"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-39127","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 24, 2026, 9:19:16 PM","dateUpdated":"Jun 25, 2026, 11:12:30 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-39127","identifiers":["EUVD-2026-39127","CVE-2026-54158","GHSA-5xfx-xj4h-5p7r"]},"retained":false,"historicalAffected":[]}],"coverage":[]}