Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-29183

CVE-2026-29183: B3log Siyuan XSS Vulnerability

CVE-2026-29183 is a reflected XSS flaw in B3log Siyuan's dynamic icon API that allows attackers to execute malicious JavaScript and exfiltrate data. This article covers technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2026-29183 Overview

CVE-2026-29183 is a reflected Cross-Site Scripting (XSS) vulnerability affecting SiYuan, a personal knowledge management system developed by B3log. The vulnerability exists in the dynamic icon API endpoint /api/icon/getDynamicIcon which, when the type=8 parameter is used, embeds attacker-controlled content into SVG output without proper escaping.

Because this endpoint is unauthenticated and returns content with the image/svg+xml MIME type, attackers can craft malicious URLs that inject executable SVG/HTML event handlers (such as onerror) to execute arbitrary JavaScript in the context of the SiYuan web origin. When a logged-in user opens a malicious link, this vulnerability can be chained to perform authenticated API actions and exfiltrate sensitive data from the victim's knowledge base.

Critical Impact

Unauthenticated attackers can execute arbitrary JavaScript in authenticated user sessions, potentially leading to data theft, session hijacking, and unauthorized access to personal knowledge management data.

Affected Products

  • B3log SiYuan versions prior to 3.5.9

Discovery Timeline

  • 2026-03-06 - CVE-2026-29183 published to NVD
  • 2026-03-10 - Last updated in NVD database

Technical Details for CVE-2026-29183

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The root of the issue lies in the dynamic icon generation API endpoint that processes user-supplied input without adequate sanitization before embedding it into SVG content.

The vulnerable endpoint /api/icon/getDynamicIcon accepts a type parameter, and when set to 8, the application generates SVG content dynamically. The critical flaw is that user-controlled data is directly interpolated into the SVG output without escaping special characters or validating the input against malicious patterns.

Since the endpoint returns content with the image/svg+xml content type, browsers render the response as SVG, which supports inline JavaScript execution through event handlers. This allows attackers to inject payloads that execute when the SVG is processed by the victim's browser.

Root Cause

The vulnerability stems from insufficient input validation and output encoding in the dynamic icon generation functionality. When constructing the SVG response, the application fails to sanitize or escape user-provided content before embedding it into the XML structure. This allows attackers to break out of the intended data context and inject executable code through SVG event handlers like onerror, onload, or onmouseover.

Attack Vector

The attack is conducted over the network and requires user interaction. An attacker crafts a malicious URL containing an XSS payload targeting the /api/icon/getDynamicIcon endpoint with type=8. When a victim (particularly an authenticated SiYuan user) clicks on or is redirected to this URL, the injected JavaScript executes in the context of the SiYuan web application.

The attack can be escalated by chaining the XSS with authenticated API calls. Since the malicious script runs in the same origin as SiYuan, it has access to session cookies and can make authenticated requests on behalf of the victim. This enables data exfiltration, configuration changes, or other malicious actions within the victim's knowledge management system.

For detailed technical information about the vulnerability mechanism, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-29183

Indicators of Compromise

  • Unusual requests to /api/icon/getDynamicIcon with suspicious type=8 parameters containing JavaScript event handlers
  • HTTP access logs showing encoded or obfuscated payloads in query parameters targeting the dynamic icon endpoint
  • Unexpected outbound connections originating from user browsers after accessing SiYuan

Detection Strategies

  • Monitor web server access logs for requests to /api/icon/getDynamicIcon containing patterns like onerror=, onload=, <script>, or other XSS indicators
  • Deploy Web Application Firewall (WAF) rules to detect and block reflected XSS patterns in URL parameters
  • Implement Content Security Policy (CSP) headers to restrict inline script execution and report violations

Monitoring Recommendations

  • Enable verbose logging for the SiYuan application to capture all API requests and parameters
  • Set up alerts for anomalous patterns in requests to icon-related endpoints
  • Review user-reported suspicious links that may indicate social engineering attempts exploiting this vulnerability

How to Mitigate CVE-2026-29183

Immediate Actions Required

  • Upgrade SiYuan to version 3.5.9 or later immediately
  • Review access logs for evidence of exploitation attempts against the /api/icon/getDynamicIcon endpoint
  • Advise users not to click on untrusted links that may target SiYuan instances
  • Consider temporarily restricting access to SiYuan instances from untrusted networks until patching is complete

Patch Information

The vulnerability has been addressed in SiYuan version 3.5.9. The patch implements proper input sanitization and output encoding for the dynamic icon API endpoint to prevent injection of malicious content into SVG responses. Users should update to this version or later to remediate the vulnerability.

For complete patch details and changelog, see the GitHub Security Advisory GHSA-6865-qjcf-286f.

Workarounds

  • Restrict network access to SiYuan instances using firewall rules to limit exposure to trusted users only
  • Deploy a reverse proxy with WAF capabilities to filter malicious requests before they reach the application
  • Implement strict Content Security Policy headers to mitigate the impact of successful XSS exploitation
  • Educate users about the risks of clicking untrusted links while SiYuan sessions are active
bash
# Example: Restrict access to SiYuan using iptables (Linux)
# Allow only trusted IP ranges to access the SiYuan port
iptables -A INPUT -p tcp --dport 6806 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 6806 -j DROP

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechB3log Siyuan

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-32940: B3log Siyuan XSS Vulnerability

  • CVE-2026-31807: B3log Siyuan XSS Vulnerability

  • CVE-2026-31809: B3log Siyuan XSS Vulnerability

  • CVE-2026-40922: B3log Siyuan RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English