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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#2401WPC Estimated Delivery Date for WooCommerce401310610k+Non Prefixed Variable Found
#2402WPC Grouped Product for WooCommerce4019953k+Missing Unslash
#2403WPFront Notification Bar402224450k+Output Not Escaped
#2404XLTab – Accordions and Tabs for Elementor Page Builder40317651k+Text Domain Mismatch
#2405My YouTube Channel4054385k+Output Not Escaped
#2406Zippy4043319k+Output Not Escaped
#2407AMP for WP – Accelerated Mobile Pages416562,40180k+Non Prefixed Variable Found
#2408Add-on Contact Form 7 – MailPoet 34188123k+Output Not Escaped
#2409Advanced Excerpt41694370k+Unsafe Printing Function
#2410AffiliateWP – Affiliate Product Rates4184242k+Output Not Escaped
#2411AH Display Widgets4152169k+Text Domain Mismatch
#2412Schema – All In One Schema Rich Snippets4159818030k+Text Domain Mismatch
#2413Alma – Pay in installments or later for WooCommerce41116681k+Exception Not Escaped
#2414Amazon Link Engine4138172k+Output Not Escaped
#2415Amazon Web Services4153215k+Missing Translators Comment
#2416Announcer – Sticky Message Banner & Notification Bar411102710k+Output Not Escaped
#2417Authenticator4159441k+Output Not Escaped
#2418Auto Image Attributes From Filename With Bulk Updater (Add Alt Text, Image Title For Image SEO)4117526100k+Unsafe Printing Function
#2419Avatar Manager4129415k+Unsafe Printing Function
#2420Beam me up Scotty – Back to Top Button4171381k+Output Not Escaped
#2421Beautiful Cookie Consent Banner41337640k+Non Prefixed Variable Found
#2422BuddyPress Xprofile Custom Field Types41391894k+Missing
#2423Carbon Copy4164893k+Text Domain Mismatch
#2424Easy Social Like Box – Popup – Sidebar Widget41218917k+Text Domain Mismatch
#2425Categorized Tag Cloud4144171k+Output Not Escaped
#2426Conditional Fields for Contact Form 74111352100k+Output Not Escaped
#2427CF7 Invisible reCAPTCHA4119527k+Missing Unslash
#2428CoinPayments.net Payment Gateway for WooCommerce4151321k+Text Domain Mismatch
#2429Colorful Categories4120202k+Output Not Escaped
#2430Comments Like Dislike41172205k+Non Singular String Literal Domain
#2431Contact Form 7 Captcha41775100k+Missing Unslash
#2432Controlled Admin Access41224010k+Recommended
#2433Dashboard Notepad41293410k+Missing
#2434Database for CF74137322k+Text Domain Mismatch
#2435Debug Bar41642520k+Output Not Escaped
#2436DevVN Local Store4184281k+Unsafe Printing Function
#2437Disable Everything41901630k+Output Not Escaped
#2438Disqus Conditional Load4138143k+Output Not Escaped
#2439Duplicate Post Page Menu & Custom Post Type41351110k+Text Domain Mismatch
#2440Duplicate Page and Post41262180k+Unsafe Printing Function
#2441Email Address Encoder411098100k+wp function not compatible with requires wp
#2442Featured Image Generator4131161k+Output Not Escaped
#2443Flexible Posts Widget41136338k+Output Not Escaped
#2444Gallery Lightbox41471610k+Output Not Escaped
#2445Google Authenticator41396520k+Output Not Escaped
#2446(Simply) Guest Author Name4135362k+Output Not Escaped
#2447Import external attachments4118262k+Output Not Escaped
#2448Inpost Paczkomaty4135688k+Text Domain Mismatch
#2449Multiple Themes411124110k+Output Not Escaped
#2450Social Sharing Plugin – Kiwi4123804k+Non Prefixed Variable Found