CVE-2026-32938: Siyuan Html2blockdom Missing Admin Readonly Guards
The route POST /api/lute/html2BlockDOM is registered without model.CheckAdminRole and model.CheckReadonly middleware. The handler resolves file:// URIs in pasted HTML and copies the referenced local files into {DataDir}/assets/, so it must be restricted to admins. With only model.CheckAuth, a publish-service visitor can stage arbitrary readable files (e.g. /
greprules fetch cve-2026-32938-siyuan-html2blockdom-missing-admin-readonly-guards --engine opengrepDescription
The route POST /api/lute/html2BlockDOM is registered without model.CheckAdminRole and model.CheckReadonly middleware. The handler resolves file:// URIs in pasted HTML and copies the referenced local files into {DataDir}/assets/, so it must be restricted to admins. With only model.CheckAuth, a publish-service visitor can stage arbitrary readable files (e.g. /
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.