CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2026 · B3log

CVE-2026-23847
B3log Siyuan vulnerability

SiYuan is a personal knowledge management system. Versions prior to 3.5.4 are vulnerable to reflected cross-site scripting in /api/icon/getDynamicIcon due to unsanitized SVG input. The endpoint generates SVG images for text icons (type=8). The content query parameter is inserted directly into the SVG <text> tag without XML escaping. Since the response Content-Type is image/svg+xml, injecting unescaped tags allows breaking the XML structure and executing JavaScript. Version 3.5.4 patches the issue.]

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.