Cloudanix VulnDB

GHSA-7m5h-w69j-qggg

High · 8.1

SiYuan: Publish Reader Can Arbitrarily Delete Attribute View Files via `/api/av/removeUnusedAttributeView`

CVSS

8.1

EPSS

—

Published

Apr 10, 2026

CISA due date

—

The record

An authenticated publish-service reader can invoke `/api/av/removeUnusedAttributeView` and cause persistent deletion of arbitrary attribute view (`AV`) definition files from the workspace. The route is protected only by generic `CheckAuth`, which accepts publish `RoleReader` requests. The handler forwards a caller-controlled `id` directly into a model function that deletes `data/storage/av/<id>.json` without verifying either: - that the caller is allowed to perform write/destructive actions; or - that the target AV is actually unused. This is a persistent integrity and availability issue reachable from the publish surface.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities