# CVE-2026-44588: SiYuan: URL-encoded title bypasses `escapeAriaLabel`, decoded by `decodeURIComponent` into a tooltip-XSS

- Severity: Critical 9.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA: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.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-08T19:08:30.000Z
- Modified: 2026-06-17T10:50:52.560Z
- Also known as: GHSA-25rp-h46x-2hjm, GO-2026-4993
- Weaknesses: CWE-79, CWE-116, CWE-1188
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.7.0
- github.com/siyuan-note/siyuan/kernel (Go): up to 0.0.0-20260421031503-96dfe0bea474; all versions

## Every score

- GitHub_M: CVSS:4.0 9.4 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-25rp-h46x-2hjm> (exploit, advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44588> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-44588](https://www.cve.org/CVERecord?id=CVE-2026-44588), CVE Terms of Use, modified 2026-05-15
- GitHub Advisory Database: [GHSA-25rp-h46x-2hjm](https://github.com/advisories/GHSA-25rp-h46x-2hjm), CC-BY-4.0, modified 2026-06-08
- Go Vulnerability Database: [GO-2026-4993](https://pkg.go.dev/vuln/GO-2026-4993), CC-BY-4.0, modified 2026-05-20
- NVD: [CVE-2026-44588](https://nvd.nist.gov/vuln/detail/CVE-2026-44588), Public domain, modified 2026-06-17

---

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