CVE-2024-2692 SiYuan 3.0.3 - RCE via Server Side XSS

Critical 9.0 Published Updated

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.

All B3log Siyuan vulnerabilities

Sources

Also known as GHSA-pgf5-9895-3ph9.

Is CVE-2024-2692 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free