{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-0785 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-0785 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-0785 is a medium-severity vulnerability in Microsoft Corporation ASP.NET Core, published on 10 Jan 2018. 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-2018-0785 and fix it if it is affected.\n\nWhat it is: CVE-2018-0785 is a medium-severity vulnerability in Microsoft Corporation ASP.NET Core, published on 10 Jan 2018. 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-2018-0785 in the wild and no public exploit code.\n\nAffected product: Microsoft Corporation ASP.NET Core. 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-2018-0785/ (Markdown: https://insights.sbomify.com/CVE-2018-0785/index.md)","id":"CVE-2018-0785","markdown":"https://insights.sbomify.com/CVE-2018-0785/index.md","name":"CVE-2018-0785","record":{"aliases":["GHSA-8r33-7h89-2vmx"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"ASP.NET Core framework","requires_auth":"none","summary":"Attackers can perform cross-site request forgery attacks against applications built with vulnerable ASP.NET Core project templates.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"asp.net_core","vendor":"microsoft"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"ASP.NET Core 1.0. 1.1, and 2.0 allow a cross site request forgery vulnerability due to the ASP.NET Core project templates, aka \"ASP.NET Core Cross Site Request Forgery Vulnerability\".","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Cross-site request forgery in ASP.NET Core","id":"CVE-2018-0785","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"csrf","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"Improper Certificate Validation in Microsoft .NET Framework components","id":"CVE-2018-0786"},"packages":[],"prev":{"headline":"Privilege escalation in ASP.NET Core","id":"CVE-2018-0784"},"products":["ASP.NET Core"],"published":"2018-01-10","related":[{"cvss_score":9.9,"headline":"ASP.NET Security Feature Bypass Vulnerability","id":"CVE-2025-55315","kev_date_added":null,"published":"2025-10-14"},{"cvss_score":9.4,"headline":"ASP.NET Core Tampering Vulnerability","id":"CVE-2026-88092","kev_date_added":null,"published":"2026-10-13"},{"cvss_score":9.1,"headline":"ASP.NET Core Elevation of Privilege Vulnerability","id":"CVE-2026-40372","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.8,"headline":"ASP.NET Core and Visual Studio Elevation of Privilege Vulnerability","id":"CVE-2021-43877","kev_date_added":null,"published":"2021-12-15"},{"cvss_score":8.8,"headline":"Remote code execution in ASP.NET Core","id":"CVE-2020-0603","kev_date_added":null,"published":"2020-01-14"},{"cvss_score":8.8,"headline":"Elevation of privilege in ASP.NET Core","id":"CVE-2019-1302","kev_date_added":null,"published":"2019-09-11"},{"cvss_score":8.8,"headline":"ASP.NET Core allow an elevation of privilege","id":"CVE-2018-0787","kev_date_added":null,"published":"2018-03-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Microsoft Corporation"]},"summary":"Attackers can perform cross-site request forgery attacks against applications built with vulnerable ASP.NET Core project templates.","url":"https://insights.sbomify.com/CVE-2018-0785/"}