Advisory

GHSA-fqj6-whhx-47p7

Also known as: CVE-2024-55659, GO-2024-3326

Summary

SiYuan has an arbitrary file write in the host via /api/asset/upload

Details

Summary

The /api/asset/upload endpoint in Siyuan is vulnerable to both arbitrary file write to the host and stored XSS (via the file write).

Impact
Arbitrary file write

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-12-11 18:44 UTC
Modified
2024-12-12 19:20 UTC

Affected packages and fixes

github.com/siyuan-note/siyuan/kernel

Go · All systems

Affected

  • introduced 0, last affected 0.0.0-20241210012039-5129ad926a21 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences