Appsecure logo

CVE-2026-23847: Low Vulnerability in b3log SiYuan

CVE-2026-23847 affects b3log SiYuan versions prior to 3.5.4, allowing reflected cross-site scripting through unsanitized SVG input. Organizations should prioritize patching to mitigate potential risks.

LOWCVSS 2.1 · Published January 19, 2026

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2026-23847 is a low-severity vulnerability identified in b3log SiYuan, a personal knowledge management system. The vulnerability exists in versions prior to 3.5.4 and is associated with reflected cross-site scripting (XSS) through the /api/icon/getDynamicIcon endpoint. The root cause is due to unsanitized SVG input, which allows attackers to inject unescaped tags into the SVG <text> element, leading to potential JavaScript execution.

The CVSS score for this vulnerability is 2.1, categorized as low severity, indicating that the risk to organizations is manageable but should not be ignored. The vulnerability is considered network-exploitable, with a low attack complexity and no privileges required for exploitation. Organizations should be aware that the response Content-Type for this vulnerability is image/svg+xml, which can lead to breaking the XML structure.

The urgency for defenders is moderate as this vulnerability is present in a widely-used product. As such, organizations utilizing SiYuan should prioritize patching to version 3.5.4 or later to mitigate the risk of potential exploitation.

As of now, there are no public exploits confirmed for this vulnerability, and it is not listed in the Known Exploited Vulnerabilities (KEV) catalog. However, the potential for exploitation exists, and organizations should remain vigilant.

Therefore, organizations should actively monitor their systems and apply the necessary updates.

Vulnerability Details

The vulnerability is classified under CWE-79, indicating a cross-site scripting vulnerability. The specific issue arises from the unsanitized input of SVG content into the /api/icon/getDynamicIcon endpoint. The affected versions are all versions before 3.5.4. The vulnerability was published on January 19, 2026, and has been analyzed for mitigation.

Technical Analysis

The root cause of CVE-2026-23847 is the failure to properly sanitize user input in the SVG content generation process. Attackers may leverage this vulnerability by injecting malicious JavaScript into the SVG, which can then be executed by unsuspecting users who access the affected endpoint.

The attack vector is network-based, meaning that an attacker can exploit this vulnerability remotely without needing physical access to the system. The attack complexity is low, as it requires no special privileges or user interaction beyond the target accessing a malicious SVG.

The impacts on confidentiality and integrity are low, as the attacker would primarily aim to execute JavaScript rather than access sensitive data directly. There is no availability impact reported.

Risk & Impact Analysis

Risk to organizations includes potential unauthorized script execution in user browsers, which can lead to phishing attacks or additional malware infections. The blast radius is somewhat limited due to the requirement that users must access the malicious SVG, but the exploitation of XSS vulnerabilities can lead to broader system compromises if successful.

Given the CVSS score of 2.1, organizations should schedule remediation in their patch cycle, prioritizing this vulnerability while considering any other critical security updates.

Exploitation Status

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

Affected Versions

All versions prior to 3.5.4 of SiYuan are affected by this vulnerability. Organizations should ensure they have updated to this version or later to protect against potential exploitation.

Mitigation & Remediation

To mitigate this vulnerability, organizations should upgrade to SiYuan version 3.5.4 or later. If a patch is unavailable, organizations should consider implementing workarounds such as sanitizing user inputs or disabling SVG rendering if feasible.

For additional security, it is advisable to conduct a thorough security assessment of the application environment, including application security assessments to identify and address similar vulnerabilities.

Detection Guidance

Organizations should monitor logs for any unusual access patterns to the /api/icon/getDynamicIcon endpoint and watch for unexpected SVG responses. Behavioral anomalies that indicate potential exploitation attempts should also be logged and investigated.

AppSecure Threat Intelligence Insight

The long-term significance of CVE-2026-23847 lies in the increasing prevalence of XSS vulnerabilities in modern web applications. Security teams should note that even low-severity vulnerabilities can have serious implications if left unaddressed.

This case represents a trend where even minor input validation issues can lead to major security risks. Organizations are encouraged to adopt a proactive approach to security, incorporating regular security assessments and adopting secure coding practices.

For further reading on securing web applications, organizations can explore our web application penetration testing guide and consider implementing a penetration testing service to strengthen their overall security posture.

By staying informed and addressing vulnerabilities proactively, organizations can better protect themselves against potential threats and maintain a resilient security framework.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.