WordPress.Security.SafeRedirect.wp_redirect_wp_redirect

wp redirect wp redirect

Plugin Check reported a security-sensitive coding pattern that needs review.

critical weight

Why It Shows Up

The finding came from a security-focused WordPress coding standard or Plugin Check rule.

Why It Matters

Security findings often involve trust boundaries: request input, browser output, redirects, database access, capabilities, or filesystem behavior.

How to Fix

  • Identify the untrusted value or privileged action involved.
  • Add validation, sanitization, escaping, nonce checks, capability checks, or prepared SQL as appropriate.
  • Rerun Plugin Check after the code path is fixed.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#1951Disable Users691192k+Text Domain Mismatch
#1952ELEX WooCommerce Bulk Edit Products, Prices & Attributes (Basic)69511514k+Text Domain Mismatch
#1953ELEX WooCommerce Discount Per Payment Method6960391k+Text Domain Mismatch
#1954Email as Username for WP-Members69158700Text Domain Mismatch
#1955Mailster WordPress Newsletter Plugin6914118k+Output is not escaped
#1956Payment Gateway for PhonePe and for Woocommerce691514900Non Singular String Literal Domain
#1957PrivacyBee – Datenschutz im Autopilot691927600Non-prefixed global variable
#1958Search & Filter69212850k+Input is not sanitized
#1959WP referrer spam blacklist (fight 2040+ Referrer Spammers in (Google/Matomo) Analytics)69924700Non-prefixed constant
#1960AppScenic – Smart AI Dropshipping7016413k+Dynamic hook name
#1961onepay Payment Gateway For WooCommerce704913900Text Domain Mismatch
#1962Related Products for WooCommerce7012123k+Setting is missing a sanitization callback
#1963Quick Buy For Woocommerce70105221k+Text Domain Mismatch
#1964aapanel WP Toolkit7120182k+wp function not compatible with requires wp
#1965Web Accessibility with Max Access712211800curl curl setopt
#1966Social Chat Widget (⚡ by Callbell)71116600Output is not escaped
#1967Nginx Helper714760200k+Non-prefixed global variable
#1968WindPress – Tailwind CSS integration for WordPress71161063k+Non-prefixed hook name
#1969Discount Rules for WooCommerce7110454100k+Non-prefixed global variable
#1970WP No Base Permalink7181010k+Unsafe printing function
#1971BB Delete cache72315900Input is not sanitized
#1972Waymark721632900Missing direct file access protection
#1973Clone Woo Orders – Free by WP Masters73138900Output is not escaped
#1974OpenID Connect Generic Client7395910k+Non-prefixed hook name
#1975Dash Notifier7312620k+Heredoc Output Not Escaped
#1976Force Password Change73410400Missing nonce verification
#1977Osom Modal Login734012400Text Domain Mismatch
#1978Sweet Custom Dashboard73272400Missing Arg Domain
#1979WC Order Test73896k+Output is not escaped
#1980Boxy WooCommerce Custom Redirect After Checkout74278700badly named files
#1981Disable cart page for WooCommerce74286k+Input is not sanitized
#1982ELEX WooCommerce USPS Shipping Method7413945900Text Domain Mismatch
#1983Markup Markdown74181282k+Non-prefixed global variable
#1984Outfunnel: Web Visitor Tracking & CRM Integration74349600Short PHP open tag found
#1985WP Revisions Limit741614800Missing Arg Domain
#1986Hum7582600wp function not compatible with requires wp
#1987Intuitive Custom Post Order751996400k+Direct Query
#1988Ukrposhta7524226500Non-prefixed global variable
#1989WP Hide Dashboard756102k+trademarked term
#1990Advanced Image Gallery for Elementor – Grid, Carousel & Slideshow763226400Non-prefixed global variable
#1991Ajax Search Lite – Live Search & Filter7612626480k+Non-prefixed hook name
#1992Drip for WordPress761172k+Missing direct file access protection
#1993Form to Chat App ⚡️764132k+Nonce verification recommended
#1994WP AdCenter – Ad Manager & Adsense Ads765711k+Direct Query
#1995Loyalty Points Rewards and Referral for WooCommerce – WPLoyalty762,2077603k+Text Domain Mismatch
#1996Backup/Restore Divi Theme Options7788700Input is not validated
#1997Disable WP Registration Page Spam775121k+Nonce verification recommended
#1998ELEX Hide WooCommerce Shipping Methods7783541k+Text Domain Mismatch
#1999Embed Files from Google Drive774355k+Nonce verification recommended
#2000Unattach77411900Nonce verification recommended