3.90.2
2 years ago
15 days ago
Known vulnerabilities in the @payloadcms/storage-s3 package. This does not include vulnerabilities belonging to this package’s dependencies.
Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.
Fix for free| Vulnerability | Vulnerable Version |
|---|---|
@payloadcms/storage-s3 is a Payload storage adapter for Amazon S3 Affected versions of this package are vulnerable to Arbitrary File Upload via insufficient validation of upload identity and MIME type in the upload handling pipeline, specifically in How to fix Arbitrary File Upload? Upgrade | <3.90.0>=4.0.0-canary.0 <4.0.0-canary.34 |
@payloadcms/storage-s3 is a Payload storage adapter for Amazon S3 Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via insufficient validation of upload file identity and XML/SVG content delivery in the uploads pipeline. An authenticated attacker can upload a file with a manipulated MIME type or filename that causes the server to serve XML-family content (including SVG) without adequate Content-Security-Policy controls or server-side type validation, enabling script execution in the context of a victim's browser when the file is viewed. How to fix Cross-site Scripting (XSS)? Upgrade | <3.90.0>=4.0.0-canary.0 <4.0.0-canary.34 |
@payloadcms/storage-s3 is a Payload storage adapter for Amazon S3 Affected versions of this package are vulnerable to Directory Traversal via insufficient sanitization of filenames in the client-upload signed-URL endpoints for S3, GCS, Azure, and R2. An attacker can escape the intended storage location by submitting specially crafted filenames. How to fix Directory Traversal? Upgrade | <3.78.0 |