{"answers":{"affected":"2 open source packages ship an affected version, including parse.","exploited":"There is no known exploitation of GHSA-wvh7-5p38-2qfc in the wild and no public exploit code.","fix":"Upgrade parse to 2.10.0 or later.","what":"GHSA-wvh7-5p38-2qfc is a vulnerability in parse, published on 23 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-wvh7-5p38-2qfc and fix it if it is affected.\n\nWhat it is: GHSA-wvh7-5p38-2qfc is a vulnerability in parse, published on 23 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-wvh7-5p38-2qfc in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- parse (npm): affected all versions; fixed in 2.10.0\n- parse (npm): affected all versions; fixed in 2.10.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/GHSA-wvh7-5p38-2qfc/ (Markdown: https://insights.sbomify.com/GHSA-wvh7-5p38-2qfc/index.md)","id":"GHSA-wvh7-5p38-2qfc","markdown":"https://insights.sbomify.com/GHSA-wvh7-5p38-2qfc/index.md","name":"GHSA-wvh7-5p38-2qfc","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript SDK","requires_auth":"none","summary":"The Parse JavaScript SDK stores user passwords in plaintext in localStorage, allowing attackers with local access to steal credentials.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"The `setPassword` method (http://parseplatform.org/Parse-SDK-JS/api/2.9.1/Parse.User.html#setPassword) stores the user's password in localStorage as raw text making it vulnerable to anyone with access to your localStorage. We believe this is the only time that password is stored at all. In the documentation under Users \u003e Signing Up, it clearly states, \"We never store passwords in plaintext, nor will we ever transmit passwords back to the client in plaintext.\"\n\nExample Code:\n```js\nasync () =\u003e {\n    const user = Parse.User.current()\n    if (user) {\n        user.setPassword('newpass')\n        await user.save()\n    }\n}\n```\nAfter running the above code, the new password will be stored in localStorage as a property named \"password\".\n\nProposed Solution:\nBefore saving anything to localStorage, Parse should strip out any properties named \"password\" that are attempting to be stored with a Parse.User type object.\n\nConfiguration:\nParse SDK: 2.9.1\nParse Server: 3.9.0","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Storing Password in Local Storage","id":"GHSA-wvh7-5p38-2qfc","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2020"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["2.10.0"],"introduced":["0"],"last_affected":[],"package":"parse","purl":null,"source":"GHSA-wvh7-5p38-2qfc"},{"ecosystem":"npm","fixed":["2.10.0"],"introduced":["0"],"last_affected":[],"package":"parse","purl":"pkg:npm/parse","source":"GHSA-wvh7-5p38-2qfc"}],"products":null,"published":"2020-07-23","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"The Parse JavaScript SDK stores user passwords in plaintext in localStorage, allowing attackers with local access to steal credentials.","url":"https://insights.sbomify.com/GHSA-wvh7-5p38-2qfc/"}