Lack of data validation - Path Traversal In github.com/siyuan-note/siyuan/kernel
Description
Duplicate Advisory: Path Traversal via unvalidated avID in RenderAttributeView/AV read endpoints : reader-reachable cross-scope attribute-view disclosure
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-7hm9-v7vf-7g4w. This link is maintained to preserve external references.
Original Description
SiYuan versions before v3.7.3 fail to validate the avID parameter on all code branches in attribute-view read endpoints, allowing attackers to construct traversal paths that escape the storage directory. Authenticated users with RoleReader permissions or anonymous clients when publish authentication is disabled can read JSON files outside the attribute-view directory to disclose cross-scope database content.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version |
|---|---|---|
go |
Aliases
References