{"answers":{"affected":"5 open source packages ship an affected version, including parse-server and parse. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-31868 in the wild and no public exploit code.","fix":"Upgrade parse-server to a fixed version for your release line: 8.6.30 or 9.6.0-alpha.4.","what":"CVE-2026-31868 is a medium-severity cross-site scripting vulnerability in Parseplatform Parse-Server, published on 11 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-31868 and fix it if it is affected.\n\nWhat it is: CVE-2026-31868 is a medium-severity cross-site scripting vulnerability in Parseplatform Parse-Server, published on 11 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-31868 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- parse-server (npm): affected all versions; fixed in 8.6.30\n- parse-server (npm): affected all versions; fixed in 8.6.30\n- parse-server (npm): affected from 9.0.0-alpha.1; fixed in 9.6.0-alpha.4\n- parse-server (npm): affected from 9.0.0-alpha.1; fixed in 9.6.0-alpha.4\n- parse (Bitnami): affected all versions; fixed in 8.6.30, 9.6.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-31868/ (Markdown: https://insights.sbomify.com/CVE-2026-31868/index.md)","id":"CVE-2026-31868","markdown":"https://insights.sbomify.com/CVE-2026-31868/index.md","name":"CVE-2026-31868","record":{"aliases":["BIT-parse-2026-31868","GHSA-v5hf-f4c3-m5rv"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Parse Server backend","requires_auth":"none","summary":"Attackers can upload malicious SVG or XML files to execute JavaScript in victims' browsers, stealing session tokens or performing actions on their behalf.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"parse-server","vendor":"parseplatform"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"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.","ecosystems":["Bitnami","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Parse Server has Stored XSS via file upload of HTML-renderable file types","id":"CVE-2026-31868","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"parseplatform:parse-server","products":["parseplatform:parse-server"],"type":"xss","year":"2026"},"n_packages":5,"n_references":3,"next":{"headline":"Discourse: Composer mentions endpoint leaks hidden group membership through PM `allowed_names` check","id":"CVE-2026-31869"},"packages":[{"ecosystem":"Bitnami","fixed":["8.6.30","9.6.0"],"introduced":["0","9.0.0"],"last_affected":[],"package":"parse","purl":"pkg:bitnami/parse","source":"BIT-parse-2026-31868"},{"ecosystem":"npm","fixed":["8.6.30"],"introduced":["0"],"last_affected":[],"package":"parse-server","purl":null,"source":"GHSA-v5hf-f4c3-m5rv"},{"ecosystem":"npm","fixed":["8.6.30"],"introduced":["0"],"last_affected":[],"package":"parse-server","purl":"pkg:npm/parse-server","source":"GHSA-v5hf-f4c3-m5rv"},{"ecosystem":"npm","fixed":["9.6.0-alpha.4"],"introduced":["9.0.0-alpha.1"],"last_affected":[],"package":"parse-server","purl":null,"source":"GHSA-v5hf-f4c3-m5rv"},{"ecosystem":"npm","fixed":["9.6.0-alpha.4"],"introduced":["9.0.0-alpha.1"],"last_affected":[],"package":"parse-server","purl":"pkg:npm/parse-server","source":"GHSA-v5hf-f4c3-m5rv"}],"prev":{"headline":"Craft Commerce has a Potential IDOR in Commerce carts","id":"CVE-2026-31867"},"products":["parse-server"],"published":"2026-03-11","related":[{"cvss_score":10,"headline":"Parse Server role escalation and CLP bypass via direct `_Join` table write","id":"CVE-2026-30966","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":10,"headline":"Parse Server literalizeRegexPart SQL Injection","id":"CVE-2024-27298","kev_date_added":null,"published":"2024-03-01"},{"cvss_score":10,"headline":"Command Injection in Parse server","id":"CVE-2022-24760","kev_date_added":null,"published":"2022-03-11"},{"cvss_score":9.9,"headline":"Parse Server session token exfiltration via `redirectClassNameForKey` query parameter","id":"CVE-2026-30965","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":9.8,"headline":"Parse Server vulnerable to remote code execution via MongoDB BSON parser through prototype pollution","id":"CVE-2023-36475","kev_date_added":null,"published":"2023-06-28"},{"cvss_score":9.8,"headline":"Parse Server vulnerable to Remote Code Execution via prototype pollution in MongoDB BSON parser","id":"CVE-2022-39396","kev_date_added":null,"published":"2022-11-10"},{"cvss_score":9.3,"headline":"Parse Server: Account takeover via operator injection in authentication data identifier","id":"CVE-2026-32248","kev_date_added":null,"published":"2026-03-12"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-12","vendors":["parse-community"]},"summary":"Attackers can upload malicious SVG or XML files to execute JavaScript in victims' browsers, stealing session tokens or performing actions on their behalf.","url":"https://insights.sbomify.com/CVE-2026-31868/"}