# CVE-2026-93591: SiYuan before 3.8.3 SQL Injection via unescaped tag in graph.go

- Severity: High 7.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N`
- 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.32%, higher than 17% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T13:20:04.684Z
- Modified: 2026-09-18T20:17:33.037Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

SiYuan versions before 3.8.3 contain an SQL injection vulnerability in the graph.go query2Stmt function where tag values are concatenated raw into SQL string literals without escaping single quotes. A publish-mode reader or anonymous visitor can inject SQL via inline HTML span tags in the getGraph endpoint to execute arbitrary queries on the read-write database and exfiltrate private data across notebooks.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: before 3.8.3 (not affected: 3.8.3)

## Every score

- VulnCheck: CVSS:4.0 7.2 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-5rwv-4j4c-f954> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/siyuan-before-3.8.3-sql-injection-via-unescaped-tag-in-graph-go> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-93591](https://www.cve.org/CVERecord?id=CVE-2026-93591), CVE Terms of Use, modified 2026-09-18
- NVD: [CVE-2026-93591](https://nvd.nist.gov/vuln/detail/CVE-2026-93591), Public domain, modified 2026-09-18

---

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