Description
SiYuan before 3.8.11 contains an uncontrolled resource consumption vulnerability that allows authenticated Reader-role users to exhaust kernel parser capacity via the getContentWordCount endpoint. Attackers can send deeply nested div elements in the Content field, which ContentStat parses without size or depth limits, degrading API availability.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
siyuan-note siyuan
Default version status: unaffected
0 to < 3.8.11affected3.8.11unaffected
pkg:golang/github.com/siyuan-note/siyuan/kernelReferences
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-mp4c-j783-p879 ↗
- https://github.com/siyuan-note/siyuan/commit/b917ff8facdb2c318b766b777e0dfcc55bbcffb0 ↗
- https://github.com/siyuan-note/siyuan/commit/1d9107a8a8c9dceba2ff1f8c4214c46124c55cf7 ↗
- https://github.com/siyuan-note/siyuan/commit/632dcd08f3c8a40df40fade550c9b1ca0ac0e47b ↗
- https://github.com/siyuan-note/siyuan/commit/11d3516aa73d7943787c1a927de4a8952afeeaa1 ↗
- https://github.com/siyuan-note/siyuan/commit/be17ed1e0510bb6371cb8a162e16898a697fa118 ↗
- https://www.vulncheck.com/advisories/siyuan-before-3.8.11-resource-exhaustion-via-getcontentwordcount-blockdom-parsing ↗