WordPress.Security.ValidatedSanitizedInput.MissingUnslash

Request data is not unslashed

Input from a WordPress request superglobal is used before removing WordPress-added slashes.

critical weight

Why It Shows Up

WordPress adds slashes to request data for historical compatibility. The scan found `$_GET`, `$_POST`, `$_REQUEST`, or similar input used without `wp_unslash()`.

Why It Matters

Sanitizing slashed data can produce incorrect values, failed comparisons, broken validation, or stored data that does not match what the user submitted.

How to Fix

  • Read the specific request key, then call `wp_unslash()` on it.
  • Sanitize the unslashed value with a function that matches the expected data type.
  • Validate the sanitized value before using it in permissions, queries, redirects, or stored settings.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#3051Hide Admin Bar From Front End638171k+Input is not validated
#3052Include Klaviyo for Elementor pro6360102k+Missing Arg Domain
#3053Mantenimiento web63491520k+Text Domain Mismatch
#3054Missed Scheduled Posts Publisher by WPBeginner63161730k+Text Domain Mismatch
#3055Redirect 404 to Home Page – Custom URL639114k+Output is not escaped
#3056Simple Membership After Login Redirection6342410k+Missing nonce verification
#3057PayPing Gateway For Woocommerce6311401k+Non-prefixed hook name
#3058Phone Validator for WooCommerce638331k+Missing nonce verification
#3059WPC Variation Bulk Editor for WooCommerce6313321k+Request data is not unslashed
#3060UniqueID for Contact Form 76421182k+Text Domain Mismatch
#3061Download Theme6418204k+wp function not compatible with requires wp
#3062ELEX WooCommerce Product Price Custom Text (Before & After Text) and Discount644441372k+Missing Arg Domain
#3063Estonian Shipping Methods for WooCommerce6497161k+Text Domain Mismatch
#3064Icon Element – Icon Pack for Elementor Page Builder (6718 icons)64301640k+wp function not compatible with requires wp
#3065Inactive Logout64307110k+Non-prefixed global variable
#3066Inline Related Posts641739100k+Nonce verification recommended
#3067Kama SpamBlock642975k+Short PHP open tag found
#3068Moosend Website Connector6415121k+Non Singular String Literal Domain
#3069Nofollow for external link648510k+Output is not escaped
#3070Stag Custom Sidebars6410122k+Text Domain Mismatch
#3071Oceanwp sticky header6481310k+Missing nonce verification
#3072Twitter6427239k+Missing Translators Comment
#3073WProofreader spell & grammar check plugin for WordPress6412434k+Non-prefixed global variable
#3074WP REST API Controller648228k+Nonce verification recommended
#3075WP REST Cache641111310k+Direct Query
#3076WP Search with Algolia6433127k+Missing direct file access protection
#3077WP Term Order642266k+Nonce verification recommended
#3078YaMaps for WordPress Plugin64213010k+Non-prefixed global variable
#3079Authorizer653545k+Nonce verification recommended
#3080Contact Form 7 – Success Page Redirects6551510k+Input is not sanitized
#3081Custom Global Variables6514125k+Output is not escaped
#3082Custom Share Buttons with Floating Sidebar65164204k+Text Domain Mismatch
#3083Cyr to Lat Reloaded – Transliteration of Links and File Names65133630k+Direct Query
#3084Disable REST API65121590k+Output is not escaped
#3085Live Chat with Messenger Customer Chat6510233k+Input is not sanitized
#3086Featured Galleries6515103k+Output is not escaped
#3087HTACCESS IP Blocker655143k+Missing nonce verification
#3088License For Envato659289k+Non-prefixed global variable
#3089Multi Image Metabox651786k+Output is not escaped
#3090MW WP Form reCAPTCHA6511142k+Input is not sanitized
#3091Notibar – Notification Bar for WordPress6543608k+wp function not compatible with requires wp
#3092Read More Excerpt Link651983k+Output is not escaped
#3093Web and WooCommerce Addons for WPBakery Builder654971231k+Text Domain Mismatch
#3094VK Link Target Controller65131030k+Output is not escaped
#3095Add to Cart Text Changer and Customize Button, Add Custom Icon6587182k+Text Domain Mismatch
#3096Ajaxify Comments – Ajax and Lazy Loading Comments6520383k+Non-prefixed hook name
#3097WP Change Default From Email6551710k+Non Singular String Literal Domain
#3098ACF: Rus-To-Lat6615112k+Output is not escaped
#3099Bulk Term Generator – Import multiple tags, categories, and taxonomies easily668312k+Request data is not unslashed
#3100Social comments by WpDevArt669199k+Missing Version