Skip to content

$_REQUEST['term'] used unsanitized in user search query#11530

Open
rajeshcpr wants to merge 1 commit intoWordPress:trunkfrom
rajeshcpr:rajeshcpr-patch-2
Open

$_REQUEST['term'] used unsanitized in user search query#11530
rajeshcpr wants to merge 1 commit intoWordPress:trunkfrom
rajeshcpr:rajeshcpr-patch-2

Conversation

@rajeshcpr
Copy link
Copy Markdown

User-supplied search term is concatenated directly into the get_users() search argument without
sanitize_text_field() or wp_unslash().

Trac ticket: https://core.trac.wordpress.org/ticket/65051

Fixes #65051

Use of AI Tools


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

User-supplied search term is concatenated directly into the get_users() search argument without
  sanitize_text_field() or wp_unslash().
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @rajeshcpr.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

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