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
#1501CompressX — AVIF & WebP Converter, Media Replacement352642340k+Missing nonce verification
#1502Conditional Menus35922860k+Text Domain Mismatch
#1503Conditional Widgets3567337k+Output is not escaped
#1504EasyTest – Simplify A/B Testing3597620k+Non-prefixed global variable
#1505Cookie Information – Cookie Banner with Consent Mode v235185282k+Output is not escaped
#1506Cookies and Content Security Policy3526141210k+Output is not escaped
#1507Core Framework35706210k+Text Domain Mismatch
#1508Coupon X – Discount Popups, Promo Codes Pop Ups for WooCommerce & Announcement Popups35301681k+Non-prefixed global variable
#1509CrowdSec351301192k+Output is not escaped
#1510CubeWP Framework35114714k+wp function not compatible with requires wp
#1511Cue by AudioTheme.com35281506k+Non-prefixed hook name
#1512Custom CSS and JavaScript35389110k+Input is not sanitized
#1513Custom Post Type Maker35240866k+Unsafe printing function
#1514Datafeedr Product Sets356022065k+Output is not escaped
#1515Deposits & Partial Payments for WooCommerce351721445k+Text Domain Mismatch
#1516PiWeb Disable payment method / Partial payment for WooCommerce35552214k+Non-prefixed class
#1517Disable XML-RPC-API3544452100k+Text Domain Mismatch
#1518Disk Usage Sunburst3530349k+Output is not escaped
#1519Potent Donations for WooCommerce3514252k+Missing nonce verification
#1520Duplica – Duplicate Posts, Pages, Custom Posts or Users3514312k+Non-prefixed global variable
#1521DynamicTags35116162k+Text Domain Mismatch
#1522Product Bundle Builder for WooCommerce351561346k+Text Domain Mismatch
#1523Easy Social Icons3518215820k+Output is not escaped
#1524Easy SwipeBox35157102k+Non Singular String Literal Domain
#1525Editorial Calendar3512716020k+Output is not escaped
#1526Ele Conditions for Elementor35274k+Request data is not unslashed
#1527Email Subscription Popup — Newsletter & GDPR Consent356831931k+Output is not escaped
#1528WP Rocket | Simple LoadCSS Preloader357164k+Non-prefixed global variable
#1529EnvíaloSimple: Email Marketing y Newsletters351472502k+Nonce verification recommended
#1530Equivalent Mobile Redirect3529172k+Text Domain Mismatch
#1531Connect WooCommerce to ActiveCampaign by EqualServing35135891k+Text Domain Mismatch
#1532EWWW Image Optimizer352257291m+Direct Query
#1533AI Popup Builder & Popup Maker by OptiMonk3581654k+Text Domain Mismatch
#1534Export Featured Images35176671k+Output is not escaped
#1535WP2Social Auto Publish356432159k+Unsafe printing function
#1536Pixel Cat – Conversion Pixel Manager3525321540k+Output is not escaped
#1537Instant Indexing for Google351362200k+Non-prefixed global variable
#1538Flat Preloader3540153k+Output is not escaped
#1539Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager35646480k+Non-prefixed global variable
#1540Flying Analytics: Self-Host Google Analytics v4 with Speed Optimization3517135k+Missing direct file access protection
#1541Events Calendar by FooEvents3556594k+Non-prefixed global variable
#1542Force Reinstall35118342k+Output is not escaped
#1543FormFacade – Embed Google Forms in your website3510161k+Nonce verification recommended
#1544Friendly Captcha for WordPress35192629k+Output is not escaped
#1545Frontend Reset Password358312810k+Text Domain Mismatch
#1546Full Width Banner Slider Wp352391402k+Output is not escaped
#1547GA4WP – Analytics Dashboard for the Website354341572k+Text Domain Mismatch
#1548GDPR Compliance & Cookie Consent35251614k+Output is not escaped
#1549GeoTargeting Lite – WordPress Geolocation3566791k+Output is not escaped
#1550Glossary35169932k+Non Singular String Literal Domain