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.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-862 — Missing Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| SonicJs-Org | sonicjs | 0 to <=3.0.0 [affected] |
References
- https://github.com/SonicJs-Org/sonicjs/issues/1125 (issue-tracking)
- https://github.com/SonicJs-Org/sonicjs (product)
- https://github.com/SonicJs-Org/sonicjs/blob/v3.0.0/packages/core/src/routes/api.ts#L1296 (technical-description)
- https://github.com/SonicJs-Org/sonicjs/pull/1147 (patch issue-tracking)
- https://hackmd.io/@hieuPenguinnn/sonicjs-content-api-write-acl-bypass (third-party-advisory)
- https://www.vulncheck.com/advisories/sonicjs-through-3.0.0-missing-authorization-in-content-write-api (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 31 Oct 2026 07:01 UTC.