# CVE-2026-87811: SiYuan before v3.8.2 Stored XSS via notebook template paths

- Severity: High 8.4 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-09-09T11:20:59.734Z
- Modified: 2026-09-09T20:20:21.673Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

SiYuan before v3.8.2 inserts persisted notebook template paths into HTML input value attributes without proper attribute encoding. Attackers can craft malicious template paths that break out of the attribute context and execute JavaScript when a victim opens notebook configuration, enabling same-origin API requests and application state manipulation.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-v6wf-r2gr-rrgf> (vendor-advisory)
- <https://www.vulncheck.com/advisories/siyuan-before-3.8.2-stored-xss-via-notebook-template-paths> (third-party-advisory)

## Sources

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

---

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