{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-29003","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2023-03-29T17:39:16.142Z","datePublished":"2023-04-04T21:20:43.983Z","dateUpdated":"2025-02-10T21:29:13.609Z"},"containers":{"cna":{"title":"SvelteKit has Insufficient Cross-Site Request Forgery Protection","problemTypes":[{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352: Cross-Site Request Forgery (CSRF)","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-184","lang":"en","description":"CWE-184: Incomplete List of Disallowed Inputs","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/sveltejs/kit/security/advisories/GHSA-5p75-vc5g-8rv2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-5p75-vc5g-8rv2"},{"name":"https://github.com/sveltejs/kit/commit/bb2253d51d00aba2e4353952d4fb0dcde6c77123","tags":["x_refsource_MISC"],"url":"https://github.com/sveltejs/kit/commit/bb2253d51d00aba2e4353952d4fb0dcde6c77123"},{"name":"https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%401.15.1","tags":["x_refsource_MISC"],"url":"https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%401.15.1"}],"affected":[{"vendor":"sveltejs","product":"kit","versions":[{"version":"< 1.15.1","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2023-04-04T21:20:43.983Z"},"descriptions":[{"lang":"en","value":"SvelteKit is a web development framework. The SvelteKit framework offers developers an option to create simple REST APIs. This is done by defining a `+server.js` file, containing endpoint handlers for different HTTP methods.\n\nSvelteKit provides out-of-the-box cross-site request forgery (CSRF) protection to its users. While the implementation does a sufficient job in mitigating common CSRF attacks, prior to version 1.15.1, the protection can be bypassed by simply specifying a different `Content-Type` header value.\n\nIf abused, this issue will allow malicious requests to be submitted from third-party domains, which can allow execution of operations within the context of the victim's session, and in extreme scenarios can lead to unauthorized access to users’ accounts.\n\nSvelteKit 1.15.1 updates the `is_form_content_type` function call in the CSRF protection logic to include `text/plain`. As additional hardening of the CSRF protection mechanism against potential method overrides, SvelteKit 1.15.1 is now performing validation on `PUT`, `PATCH` and `DELETE` methods as well. This latter hardening is only needed to protect users who have put in some sort of `?_method= override` feature themselves in their `handle` hook, so that the request that resolve sees could be `PUT`/`PATCH`/`DELETE` when the browser issues a `POST` request."}],"source":{"advisory":"GHSA-5p75-vc5g-8rv2","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T13:51:38.989Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/sveltejs/kit/security/advisories/GHSA-5p75-vc5g-8rv2","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-5p75-vc5g-8rv2"},{"name":"https://github.com/sveltejs/kit/commit/bb2253d51d00aba2e4353952d4fb0dcde6c77123","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/sveltejs/kit/commit/bb2253d51d00aba2e4353952d4fb0dcde6c77123"},{"name":"https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%401.15.1","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%401.15.1"}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-10T21:29:10.259849Z","id":"CVE-2023-29003","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-02-10T21:29:13.609Z"}}]}}