CVE-2026-33066
Description
SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the backend renderREADME function uses lute.New() without calling SetSanitize(true), allowing raw HTML embedded in Markdown to pass through unmodified. The frontend then assigns the rendered HTML to innerHTML without any additional sanitization. A malicious package author can embed arbitrary JavaScript in their README that executes when a user clicks to view the package details. Because SiYuan's Electron configuration enables nodeIntegration: true with contextIsolation: false, this XSS escalates directly to full Remote Code Execution. The issue was patched in version 3.6.1.
Description as published by the source, in English.
Key facts
- Published
- 2026-03-20
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.6 %
higher than 45 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| B3log | Siyuan | < 3.6.1 | Affected |
| github.com/siyuan-note/siyuan | kernel (Go) | < 0.0.0-20260314111550-b382f50e1880 | Affected |
Weakness type
-
CWE-79: Improper Neutralization of Input During Web Page Generation
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
References
- https://github.com/siyuan-note/siyuan/commit/b382f50e1880ed996364509de5a10a72d7409428
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4663-4mpg-879v
Related at Berigo
Articles
-
Nine vulnerabilities entered the exploited catalogue in two days
Same product
2026-09-01
CISA catalogued three more vulnerabilities on 27 August 2026, a day after six others went in. The three cover ownCloud, the Linux kernel and JFrog Ar…
-
Five of the six new KEV entries date from 2015 to 2022
Same product
2026-08-27
CISA has added six vulnerabilities to its Known Exploited Vulnerabilities catalogue. Five were published between 2015 and 2022, and three grant nothi…
-
Almost a third of this week's listed vulnerabilities have no severity score
Same product
2026-08-25
The weekly vulnerability summary from CISA lists 3882 vulnerabilities for the week beginning 10 August. 1184 of them have no calculated severity scor…
-
Eleven forgotten boot loaders let attackers walk around Secure Boot
Same product
2026-08-18
ESET found eleven old boot loaders signed by Microsoft and never revoked. They can be used to run code before the operating system starts, on machine…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.