Live › vulnerability › GHSA-p6c5-mjgj-m4rm
Parse Server stores a client-supplied Content-Type for uploads whose extension the mime package does not recognize, so a malformed type bypasses the fileUpload.fileExtensions blocklist. An attacker can upload an HTML file that the browser renders and runs in the application's origin when other users open its URL.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-29 16:33 UTC. All times on this page are UTC.
Applications that run parse-server with a file storage adapter that persists and serves the uploaded Content-Type, such as S3, Google Cloud Storage or Azure Blob Storage. The default GridFS adapter is not affected. The advisory was withdrawn as a duplicate of GHSA-r899-h629-j84r, so the sources point there for the same issue.
| Product | Ecosystem | Affected | Fixed in |
|---|---|---|---|
| parse-server | npm | >= 9.0.0, < 9.10.0-alpha.2 | – |
| parse-server | npm | <= 8.6.83 | – |
npm ls parse-server.fileUpload.fileExtensions is configured.parse-server 9.x: move to 9.10.0-alpha.2 or later.parse-server 8.x: move to 8.6.84 or later.Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
This advisory has been withdrawn because it is a duplicate of GHSA-r899-h629-j84r. This link is maintained to preserve external references.
Parse Server is affected by a stored cross-site scripting (XSS) vulnerability in versions >= 9.0.0, < 9.10.0-alpha.2 and <= 8.6.83. When an uploaded file's extension is not recognized by the mime package, Parse Server preserves the client-supplied Content-Type. A malformed Content-Type that is not a valid type/subtype media type (e.g., 'image', 'image/', or 'image//svg+xml') bypasses the fileUpload.fileExtensions blocklist and is stored unchanged. On storage adapters that persist and serve the uploaded Content-Type (such as Amazon S3, Google Cloud Storage, or Azure Blob Storage), a browser cannot parse the malformed value and falls back to MIME-sniffing; a file whose body begins with HTML is rendered as HTML, executing embedded script in the application's origin against other users who open the file URL. The default GridFS storage adapter is not affected. Fixed in 9.10.0-alpha.2 and 8.6.84.
This page as .md · .json · in your agent: get_signal("GHSA-p6c5-mjgj-m4rm")
GitHub Advisory Database, CC-BY 4.0. Posts quoted belong to their authors.