CVE-2024-53506 SQL injection in n/a
Attackers can execute arbitrary SQL commands via the ids parameter in the batchGetBlockAttrs endpoint, potentially reading or modifying data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-53506?
CVE-2024-53506 is a critical SQL injection vulnerability in B3log Siyuan, published on 29 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs.
Weakness: CWE-89
Which versions are affected by CVE-2024-53506?
It affects 1 product.
Products include B3log Siyuan.
How do I fix CVE-2024-53506?
No fix has been published for CVE-2024-53506 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-53506 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-53506 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-w5f2-gvhw-r7q6.