CVE-2024-2692 SiYuan 3.0.3 - RCE via Server Side XSS
An attacker can execute arbitrary commands on the server via Server Side XSS in SiYuan, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-2692?
CVE-2024-2692 is a critical cross-site scripting vulnerability in B3log Siyuan, published on 4 Apr 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2024-2692?
It affects 1 product.
Products include B3log Siyuan.
How do I fix CVE-2024-2692?
No fix has been published for CVE-2024-2692 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-2692 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-2692 exists.
Other vulnerabilities in B3log Siyuan
- CVE-2026-32938 SiYuan has an Arbitrary File Read in its Desktop Publish Service
- CVE-2026-33669 SiYuan has Arbitrary Document Reading within the Publishing Service
- CVE-2026-33670 SiYuan has directory traversal within its publishing service
- CVE-2026-32767 SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API
- CVE-2024-53504 SQL injection in n/a
Sources
Also known as GHSA-pgf5-9895-3ph9.