Description
ApostropheCMS is an open-source Node.js content management system. From 1.25.0 until 1.28.0, uploadfs Azure backend leaks account-level SAS token into every public attachment URL. When uploadfs is configured with the Azure backend and sas: true, createContainer() builds the BlobServiceClient from a URL that embeds the full SAS query string, and Azure SDK v12 derived clients inherit that query string. This issue is fixed in version 1.28.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| apostrophecms | apostrophe | < 4.33.0 | — |
| apostrophecms | uploadfs | >= 1.25.0, < 1.28.0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | uploadfs | >= 1.25.0, < 1.28.0 | 1.28.0 | GHSA-hhph-8536-gfq5 |
References
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-hhph-8536-gfq5
- https://github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce
- https://github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350
- https://github.com/apostrophecms/apostrophe/releases/tag/uploadfs@1.28.0