-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request from GHSA-5p75-vc5g-8rv2
* fix: address security advisory CVE-2023-29003 by enabling CSRF protection for plain/text requests * Protect PUT/PATCH/DELETE. Add comment explicitly mentioning CSRF * update docs * update changeset * Update packages/kit/types/index.d.ts Co-authored-by: Conduitry <[email protected]> * Update packages/kit/types/index.d.ts * Update cool-lies-fly.md * Update packages/kit/src/utils/http.js Co-authored-by: Dominik G. <[email protected]> * Update packages/kit/types/index.d.ts Co-authored-by: Dominik G. <[email protected]> * test(csrf): include additional methods and content-types --------- Co-authored-by: Conduitry <[email protected]> Co-authored-by: Dominik G. <[email protected]>
- Loading branch information
1 parent
0e4b9b1
commit bb2253d
Showing
5 changed files
with
42 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sveltejs/kit': patch | ||
--- | ||
|
||
fix: address security advisory CVE-2023-29003 by including `text/plain` and `PUT`/`PATCH`/`DELETE` requests in set of blocked cross-origin requests for CSRF protection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters