{"id":"CVE-2026-31868","aliases":["CVE-2026-31868","GHSA-v5hf-f4c3-m5rv","BIT-PARSE-2026-31868"],"related":[],"kind":"vulnerability","state":"published","title":"Parse Server has Stored XSS via file upload of HTML-renderable file types","summary":"Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.6.0-alpha.4 and 8.6.30, an attacker can upload a file with a file extension or content type that is not blocked by the default configuration of the Parse Server fileUpload.fileExtensions option. The file can contain malicious code, for example JavaScript in an SVG or XHTML file. When the file is accessed via its URL, the browser renders the file and executes the malicious code in the context of the Parse Server domain. This is a stored Cross-Site Scripting (XSS) vulnerability that can be exploited to steal session tokens, redirect users, or perform actions on behalf of other users. Affected file extensions and content types include .svgz, .xht, .xml, .xsl, .xslt, and content types application/xhtml+xml and application/xslt+xml for extensionless uploads. Uploading of .html, .htm, .shtml, .xhtml, and .svg files was already blocked. This vulnerability is fixed in 9.6.0-alpha.4 and 8.6.30.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.6.0-alpha.4 and 8.6.30, an attacker can upload a file with a file extension or content type that is not blocked by the default configuration of the Parse Server fileUpload.fileExtensions option. The file can contain malicious code, for example JavaScript in an SVG or XHTML file. When the file is accessed via its URL, the browser renders the file and executes the malicious code in the context of the Parse Server domain. This is a stored Cross-Site Scripting (XSS) vulnerability that can be exploited to steal session tokens, redirect users, or perform actions on behalf of other users. Affected file extensions and content types include .svgz, .xht, .xml, .xsl, .xslt, and content types application/xhtml+xml and application/xslt+xml for extensionless uploads. Uploading of .html, .htm, .shtml, .xhtml, and .svg files was already blocked. This vulnerability is fixed in 9.6.0-alpha.4 and 8.6.30.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAn attacker can upload a file with a file extension or content type that is not blocked by the default configuration of the Parse Server `fileUpload.fileExtensions` option. The file can contain malicious code, for example JavaScript in an SVG or XHTML file. When the file is accessed via its URL, the browser renders the file and executes the malicious code in the context of the Parse Server domain. This is a stored Cross-Site Scripting (XSS) vulnerability that can be exploited to steal session tokens, redirect users, or perform actions on behalf of other users.\n\nAffected file extensions and content types include `.svgz`, `.xht`, `.xml`, `.xsl`, `.xslt`, and content types `application/xhtml+xml` and `application/xslt+xml` for extensionless uploads. Uploading of `.html`, `.htm`, `.shtml`, `.xhtml`, and `.svg` files was already blocked.\n\n### Patches\n\nThe fix adds the missing file extensions and content types to the default value of the `fileUpload.fileExtensions` server option.\n\n### Workarounds\n\nConfigure the `fileUpload.fileExtensions` server option to block the affected file extensions and content types.\n\n### References\n\n- GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-v5hf-f4c3-m5rv\n- Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.4\n- Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.30","format":"markdown","source":"ghsa"},{"lang":"es","text":"Parse Server es un backend de código abierto que puede implementarse en cualquier infraestructura que pueda ejecutar Node.js. Antes de 9.6.0-alpha.4 y 8.6.30, un atacante puede subir un archivo con una extensión de archivo o tipo de contenido que no está bloqueado por la configuración predeterminada de la opción fileUpload.fileExtensions de Parse Server. El archivo puede contener código malicioso, por ejemplo JavaScript en un archivo SVG o XHTML. Cuando se accede al archivo a través de su URL, el navegador renderiza el archivo y ejecuta el código malicioso en el contexto del dominio de Parse Server. Esta es una vulnerabilidad de cross-site scripting (XSS) almacenado que puede ser explotada para robar tokens de sesión, redirigir usuarios o realizar acciones en nombre de otros usuarios. Las extensiones de archivo y tipos de contenido afectados incluyen .svgz, .xht, .xml, .xsl, .xslt, y los tipos de contenido application/xhtml+xml y application/xslt+xml para subidas sin extensión. La subida de archivos .html, .htm, .shtml, .xhtml y .svg ya estaba bloqueada. Esta vulnerabilidad está corregida en 9.6.0-alpha.4 y 8.6.30.","source":"nvd"},{"lang":"en","text":"Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.6.0 and 8.6.30, an attacker can upload a file with a file extension or content type that is not blocked by the default configuration of the Parse Server fileUpload.fileExtensions option. The file can contain malicious code, for example JavaScript in an SVG or XHTML file. When the file is accessed via its URL, the browser renders the file and executes the malicious code in the context of the Parse Server domain. This is a stored Cross-Site Scripting (XSS) vulnerability that can be exploited to steal session tokens, redirect users, or perform actions on behalf of other users. Affected file extensions and content types include .svgz, .xht, .xml, .xsl, .xslt, and content types application/xhtml+xml and application/xslt+xml for extensionless uploads. Uploading of .html, .htm, .shtml, .xhtml, and .svg files was already blocked. This vulnerability is fixed in 9.6.0 and 8.6.30.","format":"markdown","source":"bitnami"}],"published":"2026-03-11T00:34:24.000Z","modified":"2026-09-08T08:48:17.863Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 9.0.0 < 9.6.0-alpha.4","status":"affected"},{"version":"< 8.6.30","status":"affected"}],"vendor":"parse-community","product":"parse-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"9.0.0-alpha.1","status":"affected","fixed":"9.6.0-alpha.4"}],"ecosystem":"npm","package":"parse-server","purl":"pkg:npm/parse-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.6.30"}],"ecosystem":"npm","package":"parse-server","purl":"pkg:npm/parse-server","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"8.6.30"},{"status":"affected","introduced":"9.0.0","fixed":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"}],"vendor":"parseplatform","product":"parse-server","cpe":"cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.6.30"},{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.6.0"}],"ecosystem":"Bitnami","package":"parse","purl":"pkg:bitnami/parse","source":"bitnami"}],"references":[{"url":"https://github.com/parse-community/parse-server/security/advisories/GHSA-v5hf-f4c3-m5rv","tags":["advisory","mitigation","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/parse-community/parse-server/releases/tag/8.6.30","tags":["article","product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.4","tags":["article","product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31868","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/parse-community/parse-server","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-12T20:10:45.602Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31868","url":"https://www.cve.org/CVERecord?id=CVE-2026-31868","licence":"CVE Terms of Use","modified":"2026-03-12T20:10:51.157Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v5hf-f4c3-m5rv","url":"https://github.com/advisories/GHSA-v5hf-f4c3-m5rv","licence":"CC-BY-4.0","modified":"2026-03-13T13:11:05.323Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31868","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31868","licence":"Public domain","modified":"2026-06-17T10:34:39.897Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PARSE-2026-31868","url":"https://osv.dev/vulnerability/BIT-PARSE-2026-31868","licence":"Apache-2.0","modified":"2026-09-08T08:48:17.863Z"}],"updatedAt":"2026-11-25T22:59:15.761Z","epss":{"score":0.00286,"percentile":0.2278,"date":"2026-12-01T12:00:22.000Z"}}