Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate Site Design nonce and capabilities #2535

Merged
merged 4 commits into from Jun 22, 2023
Merged

Conversation

jrtashjian
Copy link
Member

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
144 of 152 checks passed
@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.

None yet

2 participants