SonicJS document authorization bypass in content write routes
SonicJs-Org sonicjs
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| SonicJs-Org sonicjs |
| No fix yet |
Original description
SonicJS through 3.0.0 contains a missing authorization vulnerability in the /api/:collection and /api/content write routes that only check coarse role labels. Authenticated authors or editors can use a bearer JWT or API key to create, modify, publish, or soft-delete other users' documents, bypassing document ACLs and administrator deny overrides.
From the CVE record · VulnCheck