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
#151Gutenberg22628342300k+Missing direct file access protection
#152Happyforms – Form Builder for WordPress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms221,03772220k+Unsafe printing function
#153HeadSpace2 SEO229403603k+Text Domain Mismatch
#154Csomagpontok és Címkék WooCommerce-hez222,0017697k+Text Domain Mismatch
#155IMPress for IDX Broker221,0856367k+Text Domain Mismatch
#156Insert or Embed Articulate Content into WordPress226591,4372k+Non-prefixed global variable
#157Számlázz.hu integráció WooCommerce-hez221,1694607k+Text Domain Mismatch
#158InfiniteWP Client222,2861,812200k+Exception output is not escaped
#159Import WP – Export and Import CSV and XML files to WordPress225803304k+Exception output is not escaped
#160LearnPress – WordPress LMS Plugin for Create and Sell Online Courses222,3613,38470k+Non-prefixed global variable
#161Leyka222533,4452k+Request data is not unslashed
#162Custom Login Page Customizer – Login Designer225881,45530k+Non-prefixed global variable
#163MailOptin – Popup, Optin Forms & Email Newsletters for Mailchimp, HubSpot, AWeber Etc.222,6192,45310k+Output is not escaped
#164Slider, Gallery, and Carousel by MetaSlider – Image Slider, Video Slider22207323500k+Non-prefixed global variable
#165Modula Image Gallery – Photo Grid & Video Gallery22474436100k+Text Domain Mismatch
#166Molongui Authorship – Author Boxes, Guest Authors & Co-Authors for WordPress229191,23010k+Output is not escaped
#167Moloni229023562k+Missing Arg Domain
#168Motors – Car Dealership & Classified Listings Plugin225,3405,9589k+Text Domain Mismatch
#169Newsletters222,9682,2482k+Text Domain Mismatch
#170NinjaFirewall (WP Edition) – Advanced Security Plugin and Firewall221,2652,065100k+Non-prefixed global variable
#171NinjaScanner – Virus & Malware scan2259655130k+Non-prefixed global variable
#172WP OAuth Server (OAuth Authentication)221893473k+Non-prefixed function
#173oik224891802k+Non Singular String Literal Domain
#174PagBank / PagSeguro Connect para WooCommerce225047434k+Non-prefixed global variable
#175PAYCOMET for WooCommerce221,2064232k+Text Domain Mismatch
#176Smart Popup by Supsystic223,17250310k+Non Singular String Literal Domain
#177Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App221,5812,326300k+Non-prefixed global variable
#178Prime Mover – Migrate WordPress Website & Backups221,3261,60010k+Non-prefixed global variable
#179Product Catalog Feed by PixelYourSite225813578k+Output is not escaped
#180Pronamic Pay222581,0773k+Non-prefixed global variable
#181PageSpeed Ninja – Cache, Minify, Defer CSS JavaScript, Critical CSS, Optimize Images, Convert WebP229844075k+Unsafe printing function
#182Quick Contact Form222606231k+Non-prefixed function
#183RabbitLoader Cache: Optimize your Website for Speed222411632k+Output is not escaped
#184Restrict User Access – Ultimate Membership & Content Protection229771,84010k+Non-prefixed global variable
#185Salon Booking System – Free Version226506193k+Missing direct file access protection
#186Social Sharing Plugin – Sassy Social Share221,689233100k+wp function not compatible with requires wp
#187Seraphinite Accelerator2259425550k+Output is not escaped
#188ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF221,044799300k+Non-prefixed global variable
#189Simple Job Board226341,35510k+Non-prefixed global variable
#190Slick Popup: Contact Form 7 Popup Plugin222,3223162k+Text Domain Mismatch
#191Slim Jetpack222,5861,9472k+Text Domain Mismatch
#192SNS Count Cache229181208k+Non Singular String Literal Domain
#193NextScripts: Social Networks Auto-Poster222,4081,13330k+Output is not escaped
#194SportsPress – Sports Club & League Manager224602,24210k+Non-prefixed global variable
#195SSL Zen — SSL Certificate Installer & HTTPS Redirects227791,57510k+Non-prefixed global variable
#196Stylish Price List – Price Table Builder & QR Code Restaurant Menu226746783k+Output is not escaped
#197SVG Flags – Beautiful Scalable Flags For All Countries!227551,2512k+Non-prefixed global variable
#198Swift Performance Lite222,3461,3257k+Text Domain Mismatch
#199Tablesome Table – Contact Form DB – WPForms, CF7, Gravity, Forminator, Fluent222255198k+error log error log
#20010Web Booster – Website speed optimization, Cache & Page Speed optimizer2251360180k+Non-prefixed global variable