{"answers":{"affected":"40 open source packages ship an affected version, including Microsoft.AspNetCore.Mvc, Microsoft.AspNetCore.Mvc.Abstractions and Microsoft.AspNetCore.Mvc.ApiExplorer. It affects 18 products.","exploited":"There is no known exploitation of CVE-2017-0256 in the wild and no public exploit code.","fix":"Upgrade Microsoft.AspNetCore.Mvc to a fixed version for your release line: 1.0.4 or 1.1.3.","what":"CVE-2017-0256 is a medium-severity cross-site scripting vulnerability in Microsoft Corporation ASP.NET Core, published on 12 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-0256 and fix it if it is affected.\n\nWhat it is: CVE-2017-0256 is a medium-severity cross-site scripting vulnerability in Microsoft Corporation ASP.NET Core, published on 12 May 2017. 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-2017-0256 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.AspNetCore.Mvc (NuGet): affected from 1.0.0; fixed in 1.0.4\n- Microsoft.AspNetCore.Mvc (NuGet): affected from 1.0.0; fixed in 1.0.4\n- Microsoft.AspNetCore.Mvc (NuGet): affected from 1.1.0; fixed in 1.1.3\n- Microsoft.AspNetCore.Mvc (NuGet): affected from 1.1.0; fixed in 1.1.3\n- Microsoft.AspNetCore.Mvc.Abstractions (NuGet): affected from 1.0.0; fixed in 1.0.4\n- Microsoft.AspNetCore.Mvc.Abstractions (NuGet): affected from 1.0.0; fixed in 1.0.4\n- Microsoft.AspNetCore.Mvc.Abstractions (NuGet): affected from 1.1.0; fixed in 1.1.3\n- Microsoft.AspNetCore.Mvc.Abstractions (NuGet): affected from 1.1.0; fixed in 1.1.3\n- Microsoft.AspNetCore.Mvc.ApiExplorer (NuGet): affected from 1.0.0; fixed in 1.0.4\n- Microsoft.AspNetCore.Mvc.ApiExplorer (NuGet): affected from 1.0.0; fixed in 1.0.4\n- Microsoft.AspNetCore.Mvc.ApiExplorer (NuGet): affected from 1.1.0; fixed in 1.1.3\n- Microsoft.AspNetCore.Mvc.ApiExplorer (NuGet): affected from 1.1.0; fixed in 1.1.3\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-2017-0256/ (Markdown: https://insights.sbomify.com/CVE-2017-0256/index.md)","id":"CVE-2017-0256","markdown":"https://insights.sbomify.com/CVE-2017-0256/index.md","name":"CVE-2017-0256","record":{"aliases":["ECHO-9424-2651-8ae8","GHSA-j8f4-2w4p-mhjc"],"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 spoof web requests due to improper sanitization in ASP.NET Core, potentially bypassing security controls.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"asp.net_model_view_controller","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.abstractions","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.apiexplorer","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.cors","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.dataannotations","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.formatters.json","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.formatters.xml","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.localization","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.razor","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.razor.host","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.taghelpers","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.viewfeatures","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.webapicompatshim","vendor":"microsoft"},{"product":"system.net.http","vendor":"microsoft"},{"product":"system.net.http.winhttphandler","vendor":"microsoft"},{"product":"system.net.security","vendor":"microsoft"},{"product":"system.net.websockets.client","vendor":"microsoft"},{"product":"system.text.encodings.web","vendor":"microsoft"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A spoofing vulnerability exists when the ASP.NET Core fails to properly sanitize web requests.","ecosystems":["NuGet"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Moderate severity vulnerability that affects Microsoft.AspNetCore.Mvc","id":"CVE-2017-0256","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"xss","year":"2017"},"n_packages":76,"n_references":1,"next":{"headline":"Information disclosure in Microsoft Windows","id":"CVE-2017-0258"},"packages":[{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Abstractions","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Abstractions","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Abstractions","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Abstractions","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Abstractions","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Abstractions","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.ApiExplorer","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.ApiExplorer","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.ApiExplorer","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.ApiExplorer","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.ApiExplorer","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.ApiExplorer","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Core","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Core","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Core","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Core","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Core","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Core","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Cors","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Cors","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Cors","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Cors","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Cors","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Cors","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.DataAnnotations","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.DataAnnotations","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.DataAnnotations","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.DataAnnotations","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.DataAnnotations","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.DataAnnotations","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Json","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Json","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Formatters.Json","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Json","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Json","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Formatters.Json","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Xml","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Xml","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Formatters.Xml","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Xml","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Xml","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Formatters.Xml","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Localization","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Localization","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Localization","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Localization","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Localization","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Localization","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Razor","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Razor","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Razor","source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Razor","purl":null,"source":"GHSA-j8f4-2w4p-mhjc"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Razor","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Razor","source":"GHSA-j8f4-2w4p-mhjc"}],"prev":{"headline":"Cross-site scripting in Microsoft Office","id":"CVE-2017-0255"},"products":["ASP.NET Core"],"published":"2017-05-12","related":[{"cvss_score":7.5,"headline":"ASP.NET Core fails to properly validate web requests","id":"CVE-2017-0247","kev_date_added":null,"published":"2017-05-12"},{"cvss_score":7.3,"headline":"High severity vulnerability that affects Microsoft.AspNetCore.Mvc","id":"CVE-2017-0249","kev_date_added":null,"published":"2017-05-12"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2014-4075","kev_date_added":null,"published":"2014-10-15"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Microsoft Corporation"]},"summary":"Attackers can spoof web requests due to improper sanitization in ASP.NET Core, potentially bypassing security controls.","url":"https://insights.sbomify.com/CVE-2017-0256/"}