---
id: CVE-2026-109310
title: >-
  SiYuan v3.1.12 before v3.8.6 fails to restrict the Sprig template function map
  in the /api/icon/getDynamicIcon content parameter, allowing resource
  exhaustion
summary: >-
  SiYuan v3.1.12 before v3.8.6 fails to restrict the Sprig template function map
  in the /api/icon/getDynamicIcon content parameter, allowing resource
  exhaustion. A publish reader, or anyone when publish auth is disabled, can use
  uncapped f…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-770
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T17:17:25.680'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109310'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-cxwr-r7cq-xw52
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-3.1.12-before-3.8.6-denial-of-service-via-getdynamicicon-template
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-12T18:00:08.197Z'
---

## Overview

SiYuan v3.1.12 before v3.8.6 fails to restrict the Sprig template function map in the /api/icon/getDynamicIcon content parameter, allowing resource exhaustion. A publish reader, or anyone when publish auth is disabled, can use uncapped functions like until to OOM-kill the kernel with one request.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
