# CVE-2026-34449: SiYuan: Cross-Origin RCE via Permissive CORS Policy and JavaScript Snippet Injection

- Severity: Critical 9.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-31T21:45:17.081Z
- Modified: 2026-07-24T21:10:00.143Z
- Also known as: GHSA-68p4-j234-43mv, GO-2026-5171
- Weaknesses: CWE-942
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

SiYuan is a personal knowledge management system. Prior to version 3.6.2, a malicious website can achieve Remote Code Execution (RCE) on any desktop running SiYuan by exploiting the permissive CORS policy (Access-Control-Allow-Origin: * + Access-Control-Allow-Private-Network: true) to inject a JavaScript snippet via the API. The injected snippet executes in Electron's Node.js context with full OS access the next time the user opens SiYuan's UI. No user interaction is required beyond visiting the malicious website while SiYuan is running. This issue has been patched in version 3.6.2.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.6.2
- github.com/siyuan-note/siyuan/kernel (Go): before 3.6.2; all versions
- b3log siyuan: before 3.6.2

## Every score

- GitHub_M: CVSS:3.1 9.7 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-68p4-j234-43mv> (exploit, advisory, vendor-advisory, web)
- <https://github.com/siyuan-note/siyuan/issues/17246> (issue-tracking, web)
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34449> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-34449](https://www.cve.org/CVERecord?id=CVE-2026-34449), CVE Terms of Use, modified 2026-04-01
- GitHub Advisory Database: [GHSA-68p4-j234-43mv](https://github.com/advisories/GHSA-68p4-j234-43mv), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5171](https://pkg.go.dev/vuln/GO-2026-5171), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-34449](https://nvd.nist.gov/vuln/detail/CVE-2026-34449), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-34449 · Whole record: https://cve.day/CVE-2026-34449.json · Rebuilt by cve.day 2026-11-25T22:59:17.646Z
