Skip to content

Validate Site Design nonce and capabilities#2535

Merged
jrtashjian merged 4 commits intomasterfrom
fix-nonce-site-design
Jun 22, 2023
Merged

Validate Site Design nonce and capabilities#2535
jrtashjian merged 4 commits intomasterfrom
fix-nonce-site-design

Conversation

@jrtashjian
Copy link
Copy Markdown
Contributor

We performed sanitization on the request params and had a check for the Go theme but we did not have a nonce in place nor a user capabilities check on the wp_ajax_site_design_update_design_style request. This PR adds both a nonce check and user capabilities check.

@jrtashjian jrtashjian merged commit 0f56ccf into master Jun 22, 2023
@jrtashjian jrtashjian deleted the fix-nonce-site-design branch June 22, 2023 13:38
@jrtashjian jrtashjian modified the milestone: 3.0.4 Jun 22, 2023
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.

1 participant