~ / search / GHSA-25w9-wqfq-gwqx

GHSA-25w9-wqfq-gwqx

SiYuan has an arbitrary file read and path traversal via /api/export/exportResources

Source: GitHub Advisory Database (reviewed) High CVE-2024-55658

Packages

EcosystemPackageAffectedFixed in
Go github.com/siyuan-note/siyuan/kernel <= 0.0.0-20241210012039-5129ad926a21 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

### Summary Siyuan's /api/export/exportResources endpoint is vulnerable to arbitary file read via path traversal. It is possible to manipulate the paths parameter to access and download arbitrary files from the host system by traversing the workspace directory structure. ### Impact Arbitrary File Read

References

External links from the advisory. They lead to third-party sites.