CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2026 · B3log

CVE-2026-23852
B3log Siyuan vulnerability

SiYuan is a personal knowledge management system. Versions prior to 3.5.4 have a stored Cross-Site Scripting (XSS) vulnerability that allows an attacker to inject arbitrary HTML attributes into the `icon` attribute of a block via the `/api/attr/setBlockAttrs` API. The payload is later rendered in the dynamic icon feature in an unsanitized context, leading to stored XSS and, in the desktop environment, potential remote code execution (RCE). This issue bypasses the previous fix for issue `#15970` (XSS → RCE via dynamic icons). Version 3.5.4 contains an updated fix.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Siyuan. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether B3log Siyuan runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in B3log products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.