Skip to content

csrf verification on del actions - #1121

Merged
michield merged 1 commit into
release-3.7.0from
csrf-verification-on-del
Aug 9, 2026
Merged

csrf verification on del actions#1121
michield merged 1 commit into
release-3.7.0from
csrf-verification-on-del

Conversation

@TatevikGr

@TatevikGr TatevikGr commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Description

  • add CSRF on bounce rule deletion
  • add CSRF on admin account deletion

Related Issue

#1116
#1117

Screenshots (if appropriate):

@TatevikGr
TatevikGr changed the base branch from main to release-3.6.16 July 20, 2026 09:11
@TatevikGr
TatevikGr force-pushed the csrf-verification-on-del branch 4 times, most recently from f8ddf9f to 781e8a0 Compare July 20, 2026 10:07
@TatevikGr
TatevikGr changed the base branch from release-3.6.16 to main July 20, 2026 10:07
@TatevikGr
TatevikGr requested a review from michield July 20, 2026 10:23
@TatevikGr
TatevikGr force-pushed the csrf-verification-on-del branch 2 times, most recently from 6d84f55 to 2425496 Compare July 28, 2026 09:36
@TatevikGr
TatevikGr requested a review from bramley July 29, 2026 16:42
@bramley

bramley commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

I don't really understand how the exploit would work but these changes look ok.

Doing a grep on the phplist source for GET['del to include del and delete shows few more places that might need to be looked at, but I won't list them here.

@TatevikGr

Copy link
Copy Markdown
Contributor Author

I don't really understand how the exploit would work

SameSite=Strict seems to prevent the classic CSRF attack, but I think adding CSRF protection is still worth it as an extra layer of protection.

@michield

michield commented Aug 9, 2026

Copy link
Copy Markdown
Member

ah, I hadn't noticed this. Yes, we should add this. For now, target branch release-3.6.17 and then we can release a security update

@TatevikGr
TatevikGr changed the base branch from main to release-3.7.0 August 9, 2026 10:41
@TatevikGr
TatevikGr force-pushed the csrf-verification-on-del branch from 2425496 to 3cc8c23 Compare August 9, 2026 10:43
@TatevikGr
TatevikGr changed the base branch from release-3.7.0 to release-3.6.17 August 9, 2026 10:45
@TatevikGr
TatevikGr changed the base branch from release-3.6.17 to release-3.7.0 August 9, 2026 10:47
@michield
michield merged commit 5159c3e into release-3.7.0 Aug 9, 2026
11 of 15 checks passed
@TatevikGr TatevikGr mentioned this pull request Aug 10, 2026
14 tasks
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.

4 participants