{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-38514 exists.","fix":"No fix has been published for CVE-2024-38514 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-38514 is a high-severity server-side request forgery vulnerability in ChatGPTNextWeb ChatGPT-Next-Web, published on 28 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-38514 and fix it if it is affected.\n\nWhat it is: CVE-2024-38514 is a high-severity server-side request forgery vulnerability in ChatGPTNextWeb ChatGPT-Next-Web, published on 28 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-38514 exists.\n\nAffected product: ChatGPTNextWeb ChatGPT-Next-Web. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2024-38514/ (Markdown: https://insights.sbomify.com/CVE-2024-38514/index.md)","id":"CVE-2024-38514","markdown":"https://insights.sbomify.com/CVE-2024-38514/index.md","name":"CVE-2024-38514","record":{"aliases":["GHSA-gph5-rx77-3pjg"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"NextChat UI","requires_auth":"none","summary":"Attackers can exploit SSRF in NextChat to perform arbitrary requests or execute JavaScript in users' browsers via the WebDav API.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"NextChat is a cross-platform ChatGPT/Gemini UI. There is a Server-Side Request Forgery (SSRF) vulnerability due to a lack of validation of the `endpoint` GET parameter on the WebDav API endpoint. This SSRF can be used to perform arbitrary HTTPS request from the vulnerable instance (MKCOL, PUT and GET methods supported), or to target NextChat users and make them execute arbitrary JavaScript code in their browser. This vulnerability has been patched in version 2.12.4.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-38514.yaml","stars":null,"title":"NextChat - Server-Side Request Forgery"}],"tier":"weaponised"},"has_fix":false,"headline":"NextChat Server-Side Request Forgery (SSRF)","id":"CVE-2024-38514","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"ssrf","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Aimeos HTML client may potentially reveal sensitive information in error log","id":"CVE-2024-38516"},"packages":[],"prev":{"headline":"Fiber Session Middleware Token Injection Vulnerability","id":"CVE-2024-38513"},"products":["ChatGPT-Next-Web"],"published":"2024-06-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["ChatGPTNextWeb"]},"summary":"Attackers can exploit SSRF in NextChat to perform arbitrary requests or execute JavaScript in users' browsers via the WebDav API.","url":"https://insights.sbomify.com/CVE-2024-38514/"}