{"answers":{"affected":"4 open source packages ship an affected version, including Microsoft.AspNetCore.SpaServices. It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-1302 in the wild and no public exploit code.","fix":"Upgrade Microsoft.AspNetCore.SpaServices to a fixed version for your release line: 2.1.13 or 2.2.7.","what":"CVE-2019-1302 is a high-severity vulnerability in Microsoft ASP.NET Core, published on 11 Sep 2019. 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-2019-1302 and fix it if it is affected.\n\nWhat it is: CVE-2019-1302 is a high-severity vulnerability in Microsoft ASP.NET Core, published on 11 Sep 2019. 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-2019-1302 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.AspNetCore.SpaServices (NuGet): affected from 2.1.0; fixed in 2.1.13\n- Microsoft.AspNetCore.SpaServices (NuGet): affected from 2.1.0; fixed in 2.1.13\n- Microsoft.AspNetCore.SpaServices (NuGet): affected from 2.2.0; fixed in 2.2.7\n- Microsoft.AspNetCore.SpaServices (NuGet): affected from 2.2.0; fixed in 2.2.7\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-2019-1302/ (Markdown: https://insights.sbomify.com/CVE-2019-1302/index.md)","id":"CVE-2019-1302","markdown":"https://insights.sbomify.com/CVE-2019-1302/index.md","name":"CVE-2019-1302","record":{"aliases":["GHSA-xr8f-59pp-rxxh"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"ASP.NET Core framework","requires_auth":"none","summary":"Attackers can escalate privileges in ASP.NET Core web applications created with vulnerable project templates due to improper request sanitization.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"asp.net_core","vendor":"microsoft"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"An elevation of privilege vulnerability exists when a ASP.NET Core web application, created using vulnerable project templates, fails to properly sanitize web requests, aka 'ASP.NET Core Elevation Of Privilege Vulnerability'.","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":"Elevation of privilege in ASP.NET Core","id":"CVE-2019-1302","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"privilege_escalation","year":"2019"},"n_packages":4,"n_references":1,"next":{"headline":"Privilege escalation in Windows","id":"CVE-2019-1303"},"packages":[{"ecosystem":"NuGet","fixed":["2.1.13"],"introduced":["2.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.SpaServices","purl":null,"source":"GHSA-xr8f-59pp-rxxh"},{"ecosystem":"NuGet","fixed":["2.1.13"],"introduced":["2.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.SpaServices","purl":"pkg:nuget/Microsoft.AspNetCore.SpaServices","source":"GHSA-xr8f-59pp-rxxh"},{"ecosystem":"NuGet","fixed":["2.2.7"],"introduced":["2.2.0"],"last_affected":[],"package":"Microsoft.AspNetCore.SpaServices","purl":null,"source":"GHSA-xr8f-59pp-rxxh"},{"ecosystem":"NuGet","fixed":["2.2.7"],"introduced":["2.2.0"],"last_affected":[],"package":"Microsoft.AspNetCore.SpaServices","purl":"pkg:nuget/Microsoft.AspNetCore.SpaServices","source":"GHSA-xr8f-59pp-rxxh"}],"prev":{"headline":"High severity vulnerability that affects System.Management.Automation","id":"CVE-2019-1301"},"products":["ASP.NET Core"],"published":"2019-09-11","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":"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":"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-04","vendors":["Microsoft"]},"summary":"Attackers can escalate privileges in ASP.NET Core web applications created with vulnerable project templates due to improper request sanitization.","url":"https://insights.sbomify.com/CVE-2019-1302/"}