{"answers":{"affected":"2 open source packages ship an affected version, including jquery-file-upload. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-9207 in the wild and no public exploit code.","fix":"Upgrade jquery-file-upload to 4.0.5 or later.","what":"CVE-2018-9207 is a critical vulnerability in hayageek jQuery Upload File, published on 19 Nov 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-9207 and fix it if it is affected.\n\nWhat it is: CVE-2018-9207 is a critical vulnerability in hayageek jQuery Upload File, published on 19 Nov 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-9207 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- jquery-file-upload (npm): affected all versions; fixed in 4.0.5\n- jquery-file-upload (npm): affected all versions; fixed in 4.0.5\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-2018-9207/ (Markdown: https://insights.sbomify.com/CVE-2018-9207/index.md)","id":"CVE-2018-9207","markdown":"https://insights.sbomify.com/CVE-2018-9207/index.md","name":"CVE-2018-9207","record":{"aliases":["GHSA-mxr5-p36v-479m"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"jQuery Upload File","requires_auth":"none","summary":"An attacker can upload arbitrary files via the jQuery Upload File library, potentially leading to remote code execution.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"larry_cashdollar","cpe":[{"product":"jquery_upload_file","vendor":"hayageek"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Arbitrary file upload in jQuery Upload File \u003c= 4.0.2","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2019-01-11","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-01-11T23:34:00Z","kind":"github_poc","ref":"https://github.com/cved-sources/cve-2018-9207","stars":0,"title":"cve-2018-9207"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Unrestricted Upload of File with Dangerous Type in jquery-file-upload","id":"CVE-2018-9207","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"file_upload","year":"2018"},"n_packages":2,"n_references":1,"next":{"headline":"File upload in jQuery Picture Cut","id":"CVE-2018-9208"},"packages":[{"ecosystem":"npm","fixed":["4.0.5"],"introduced":["0"],"last_affected":[],"package":"jquery-file-upload","purl":null,"source":"GHSA-mxr5-p36v-479m"},{"ecosystem":"npm","fixed":["4.0.5"],"introduced":["0"],"last_affected":[],"package":"jquery-file-upload","purl":"pkg:npm/jquery-file-upload","source":"GHSA-mxr5-p36v-479m"}],"prev":{"headline":"Unrestricted Upload of File with Dangerous Type in blueimp-file-upload","id":"CVE-2018-9206"},"products":["jQuery Upload File"],"published":"2018-11-19","related":[{"cvss_score":6.1,"headline":"jQuery-Upload-File XSS in fileNameStr","id":"CVE-2021-37504","kev_date_added":null,"published":"2022-02-25"}],"sources":[{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["hayageek"]},"summary":"An attacker can upload arbitrary files via the jQuery Upload File library, potentially leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2018-9207/"}