{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.8.10"
                  },
                  {
                    "fixed": "3.8.11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "3.8.11-beta.3"
                  },
                  {
                    "fixed": "3.8.11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "be17ed1e0510bb6371cb8a162e16898a697fa118"
            },
            {
              "fixed": "e6794a0c44976269591c2e1633c29dc44ca379e4"
            },
            {
              "introduced": "e6f91e0acec03942b6310d7c38d45c4108c076f5"
            },
            {
              "fixed": "e6794a0c44976269591c2e1633c29dc44ca379e4"
            }
          ],
          "repo": "https://github.com/siyuan-note/siyuan",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-vjx3-h5hv-9fm4"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145039.json"
  },
  "details": "SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability in the protyle asset picker's renderAssetList, which inserts unescaped asset filenames via innerHTML. Attackers can supply a .sy.zip import with a malicious filename that runs script when the victim opens the asset picker, reaching Node APIs for code execution.",
  "id": "CVE-2026-145039",
  "modified": "2026-12-04T19:46:04.581882308Z",
  "published": "2026-12-04T16:10:54.561Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145039.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vjx3-h5hv-9fm4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145039"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/siyuan-before-3.8.11-stored-xss-via-asset-picker-filename"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
      "type": "CVSS_V4"
    }
  ],
  "summary": "SiYuan before 3.8.11 Stored XSS via Asset Picker Filename"
}