Skip to content

Conversation

Kither12
Copy link

Commit Message: CSRF supports every methods
Additional Description: The CSRF filter currently acts on HTTP methods that can mutate data. Although it may true but enforce on every http methods is nerver a waste. For example, the CSRF attack can be performed on web-socket handshake and could allow attackers to communicate with the WebSocket server cross-domain allowing for CSRF-like issues.
Risk Level: low
Testing: integration test
Docs Changes: added
Release Notes: n/a
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Copy link

Hi @Kither12, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #41258 was opened by Kither12.

see: more, trace.

@Kither12 Kither12 changed the title enforce_csrf_on_all_methods CSRF: supports on every methods Sep 27, 2025
@KBaichoo
Copy link
Contributor

/assign @dschaller

as csrf owner

@KBaichoo
Copy link
Contributor

KBaichoo commented Oct 3, 2025

PTAL @dschaller

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.

3 participants