Skip to content

Secure against CSRF#193

Merged
feedmeapples merged 1 commit into
mainfrom
csrf
Jan 4, 2022
Merged

Secure against CSRF#193
feedmeapples merged 1 commit into
mainfrom
csrf

Conversation

@feedmeapples

Copy link
Copy Markdown
Contributor

What was changed

Reads and sets CSRF header for all API requests

Why?

Securing against CSRF

Checklist

  1. Closes

  2. How was this tested:

  • with ui-server PR Secure aginst CSRF ui-server#83
  • For requests that are determined as not safe (eg. PUT, DELETE) validated that they succeed only if client sets X-CSRF-TOKEN
  1. Any docs updates needed?

@feedmeapples
feedmeapples merged commit 2cb2594 into main Jan 4, 2022
@feedmeapples
feedmeapples deleted the csrf branch January 4, 2022 15:22
rossnelson added a commit that referenced this pull request Apr 3, 2026
- lodash: ^4.17.21 -> ^4.18.1 (CVE-2026-4800, CVE-2026-2950, CVE-2025-13465)
- svelte: 5.53.3 -> 5.55.1 (CVE-2026-27902, CVE-2026-27901)
- @sveltejs/kit: 2.53.0 -> 2.55.0 (DoS via form deserialization)
- storybook: ^8.6.11 -> ^8.6.18 (CVE-2026-27148)
- tar-fs: >=2.1.2 -> ^3.1.2 (CVE-2025-59343)

Resolves Dependabot alerts #233, #232, #159, #204, #203, #194, #193, #207, #192, #127.
rossnelson added a commit that referenced this pull request Apr 8, 2026
#3269)

- lodash: ^4.17.21 -> ^4.18.1 (CVE-2026-4800, CVE-2026-2950, CVE-2025-13465)
- svelte: 5.53.3 -> 5.55.1 (CVE-2026-27902, CVE-2026-27901)
- @sveltejs/kit: 2.53.0 -> 2.55.0 (DoS via form deserialization)
- storybook: ^8.6.11 -> ^8.6.18 (CVE-2026-27148)
- tar-fs: >=2.1.2 -> ^3.1.2 (CVE-2025-59343)

Resolves Dependabot alerts #233, #232, #159, #204, #203, #194, #193, #207, #192, #127.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants