{
  "id": "CVE-2026-34605",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-34605",
  "published_at": "2026-03-31T21:50:10.076Z",
  "title": "SiYuan: Reflected XSS via SVG namespace prefix bypass in SanitizeSVG ( getDynamicIcon, unauthenticated )",
  "vendor": "siyuan-note",
  "product": "siyuan",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-03-31T18:11:49Z",
    "first_seen_at": null,
    "days_after_publication": -0.2,
    "source": "nuclei",
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-34605.yaml"
  },
  "poc_repo_count": 0,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "SiYuan is a personal knowledge management system. From version 3.6.0 to before version 3.6.2, the SanitizeSVG function introduced in version 3.6.0 to fix XSS in the unauthenticated /api/icon/getDynamicIcon endpoint can be bypassed by using namespace-prefixed element names such as \u003cx:script xmlns:x=\"http://www.w3.org/2000/svg\"\u003e. The Go HTML5 parser records the element's tag as \"x:script\" rather than \"script\", so the tag check passes it through. The SVG is served with Content-Type: image/svg+xml and no Content Security Policy; when a browser opens the response directly, its XML parser resolves the prefix to the SVG namespace and executes the embedded script. This issue has been patched in version 3.6.2.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.6,
    "nvd": 6.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "siyuan-note",
        "product": "siyuan",
        "ranges": [
          "\u003e= 3.6.0, \u003c 3.6.2"
        ],
        "fixed_in": [
          "3.6.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade siyuan to 3.6.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-73g7-86qr-jrg3"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-34605.yaml",
      "source": "nuclei",
      "title": "nuclei template: SiYuan Note - Cross-Site Scripting",
      "published_at": "2026-03-31T18:11:49Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
