{"answers":{"affected":"4 open source packages ship an affected version, including mithril.","exploited":"There is no known exploitation of GHSA-c3px-v9c7-m734 in the wild and no public exploit code.","fix":"Upgrade mithril to a fixed version for your release line: 1.1.7 or 2.0.2.","what":"GHSA-c3px-v9c7-m734 is a vulnerability in mithril, published on 3 Sep 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-c3px-v9c7-m734 and fix it if it is affected.\n\nWhat it is: GHSA-c3px-v9c7-m734 is a vulnerability in mithril, published on 3 Sep 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-c3px-v9c7-m734 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mithril (npm): affected all versions; fixed in 1.1.7\n- mithril (npm): affected all versions; fixed in 1.1.7\n- mithril (npm): affected from 2.0.0; fixed in 2.0.2\n- mithril (npm): affected from 2.0.0; fixed in 2.0.2\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-c3px-v9c7-m734/ (Markdown: https://insights.sbomify.com/GHSA-c3px-v9c7-m734/index.md)","id":"GHSA-c3px-v9c7-m734","markdown":"https://insights.sbomify.com/GHSA-c3px-v9c7-m734/index.md","name":"GHSA-c3px-v9c7-m734","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript frontend library","requires_auth":"none","summary":"Prototype pollution in mithril allows attackers to modify Object prototypes via query strings, potentially leading to code execution or logic bypasses.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"Affected versions of `mithril`are vulnerable to prototype pollution. The function `parseQueryString` may allow a malicious user to modify the prototype of `Object`, causing the addition or modification of an existing property that will exist on all objects. A payload such as `__proto__%5BtoString%5D=123` in the query string would change the `toString()` function to `123`.\n\n## Recommendation\n\nIf you are using mithril 2.x, upgrade to version 2.0.2 or later.\nIf you are using mithril 1.x, upgrade to version 1.1.7 or later.","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":"Prototype Pollution in mithril","id":"GHSA-c3px-v9c7-m734","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2020"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["1.1.7"],"introduced":["0"],"last_affected":[],"package":"mithril","purl":null,"source":"GHSA-c3px-v9c7-m734"},{"ecosystem":"npm","fixed":["1.1.7"],"introduced":["0"],"last_affected":[],"package":"mithril","purl":"pkg:npm/mithril","source":"GHSA-c3px-v9c7-m734"},{"ecosystem":"npm","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"mithril","purl":null,"source":"GHSA-c3px-v9c7-m734"},{"ecosystem":"npm","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"mithril","purl":"pkg:npm/mithril","source":"GHSA-c3px-v9c7-m734"}],"products":null,"published":"2020-09-03","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":"Prototype pollution in mithril allows attackers to modify Object prototypes via query strings, potentially leading to code execution or logic bypasses.","url":"https://insights.sbomify.com/GHSA-c3px-v9c7-m734/"}