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.
https://hackmd.io/@hieuPenguinnn/sonicjs-content-api-write-acl-bypass
https://github.com/SonicJs-Org/sonicjs/pull/1147
https://github.com/SonicJs-Org/sonicjs/issues/1125
https://github.com/SonicJs-Org/sonicjs/blob/v3.0.0/packages/core/src/routes/api.ts#L1296
Published: 2026-10-30
Updated: 2026-10-30
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:C/A:P
Severity: High
Base Score: 7.1
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Severity: High
Base Score: 7.1
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Severity: High