
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
strapi-plugin-media-upload
Advanced tools
A plugin that help you upload file to a specific file system using api
A plugin that help you upload media to a specific folder using api in strapi.
npm i strapi-plugin-media-upload
After installation, the plugin will be automatically enabled.
Upload media files to a specific folder using the provided API endpoints.
GET /<strapiprefix>/media/folders
POST /<strapiprefix>/media/folder
{
"name": "New Folder", // Required, folder name
"parentId": 1 // Optional, ID of the parent folder
}
PUT /<strapiprefix>/media/folder
{
"id": 1, // Required, ID of the folder to update,
"name": "New Folder", // Required, folder name
"parentId": 1 // Optional, new parent folder ID
}
DELETE /<strapiprefix>/media/folder
GET /<strapiprefix>/media/folder-structure
GET /<strapiprefix>/media/folder
POST /<strapiprefix>/media/bulk-delete
{
"fileIds": [27], // Required, ID of the files to delete
"folderIds": [20] // Required, ID of the folders to delete
}
POST /<strapiprefix>/media/bulk-move
{
"targetFolderId": 21, // Required, ID of the target folder, if not provided, the items would be move to the root folder.
"fileIds": [27], // Required, ID of the files to delete
"folderIds": [20] // Required, ID of the folders to delete
}
POST /<strapiprefix>/media/upload
PUT /<strapiprefix>/media/update
{
"id": 1, // Required, ID of the file to move,
"name": "New Name", // Optional, new file name
"alternativeText": "New Alternative Text", // Optional, new alternative text,
"caption": "New Caption", // Optional, new caption,
"folderId": 1, // Optional, folder id
}
This plugin is compatible with Strapi 5.0.0
and above.
If you encounter any issues, please report them here.
This project is licensed under the MIT License. See the LICENSE file for details.
Eli Liu
Email: Mr.liu93@outlook.com
GitHub: Littlexiaoxiaojian
FAQs
A plugin that help you upload file to a specific file system using api
The npm package strapi-plugin-media-upload receives a total of 87 weekly downloads. As such, strapi-plugin-media-upload popularity was classified as not popular.
We found that strapi-plugin-media-upload demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.