Skip to content

Form Builder: Sign Block Settings - #1284

Merged
n7studios merged 4 commits into
form-builder-no-subscriber-cookiefrom
form-builder-sign-settings
Nov 20, 2026
Merged

n7studios merged 4 commits into
form-builder-no-subscriber-cookiefrom
form-builder-sign-settings

Conversation

@n7studios

Copy link
Copy Markdown
Contributor

Summary

The Form, Tag and Sequence IDs, store entries and redirect settings were read from hidden fields that could be changed in the request, allowing a visitor to subscribe any email address to any Form, Tag or Sequence, or redirect to any site.

The block's settings, including its custom field keys, are now signed. Submissions with changed settings, or no signature, are rejected, and only the block's custom fields are sent to Kit.

Testing

  • testSubscriberNotCreatedWhenBlockSettingsChanged
  • testSubscriberNotCreatedWhenSignatureMissing
  • testOnlyBlockCustomFieldsSubscribed
  • testSubscribeWithRedirectURL

Checklist

…ther settings can't be changed when submitted
@n7studios n7studios added this to the 3.5.3 milestone Nov 16, 2026
@n7studios n7studios self-assigned this Nov 16, 2026
@n7studios n7studios added the bug label Nov 16, 2026
@n7studios n7studios changed the title Form Builder: Sign the block’s settings Form Builder: Sign Block Settings Nov 16, 2026
@n7studios
n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team November 17, 2026 09:29
@n7studios
n7studios marked this pull request as ready for review November 17, 2026 09:29
@github-actions

Copy link
Copy Markdown

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios
n7studios merged commit 2b7162a into form-builder-no-subscriber-cookie Nov 20, 2026
349 of 367 checks passed
@n7studios
n7studios deleted the form-builder-sign-settings branch November 20, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants