WordPress.Security.EscapeOutput.ExceptionNotEscaped

Exception output is not escaped

An exception message or related exception value is printed without escaping.

critical weight

Why It Shows Up

The scan found exception data being displayed directly in HTML output.

Why It Matters

Exception messages can include file paths, request values, remote API responses, or database details. Printing them raw can expose information or create XSS risk.

How to Fix

  • Use `esc_html()` or another context-appropriate escaping function before displaying exception text.
  • Show a generic user-facing message and log the detailed exception for administrators or developers.
  • Do not print stack traces, paths, or raw remote responses on public pages.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#151IMPress for IDX Broker221,0856366k+Text Domain Mismatch
#152Insert or Embed Articulate Content into WordPress226591,4372k+Non-prefixed global variable
#153Számlázz.hu integráció WooCommerce-hez221,1694607k+Text Domain Mismatch
#154The Innovative Form Builder – IvyForms22713250500Exception output is not escaped
#155InfiniteWP Client222,2861,812200k+Exception output is not escaped
#156Import WP – Export and Import CSV and XML files to WordPress225803304k+Exception output is not escaped
#157JCC Payment Gateway for Woocommerce222,2731,136600Text Domain Mismatch
#158JCH Optimize221,1431364k+Output is not escaped
#159Jetpack – WP Security, Backup, Speed, & Growth222,9751,3483m+Text Domain Mismatch
#160Jim Soft Swiss QR Invoice22262392400Non-prefixed global variable
#161LearnPress – WordPress LMS Plugin for Create and Sell Online Courses222,3463,34170k+Non-prefixed global variable
#162Custom Login Page Customizer – Login Designer225881,45530k+Non-prefixed global variable
#163Mail Baby SMTP22385699600SQL query is not prepared
#164MailOptin – Popup, Optin Forms & Email Newsletters for Mailchimp, HubSpot, AWeber Etc.222,6252,45810k+Output is not escaped
#165MarketKing — Ultimate WooCommerce Multivendor Marketplace Solution221,1311,844800Non-prefixed global variable
#166Slider, Gallery, and Carousel by MetaSlider – Image Slider, Video Slider22207323500k+Non-prefixed global variable
#167Modula Image Gallery – Photo Grid & Video Gallery22474436100k+Text Domain Mismatch
#168Newsletters222,9682,2482k+Text Domain Mismatch
#169WP OAuth Server (OAuth Authentication)221893473k+Non-prefixed function
#170Packeta228013338k+Exception output is not escaped
#171Packlink PRO for WooCommerce2246816020k+badly named files
#172PagBank / PagSeguro Connect para WooCommerce225047574k+Non-prefixed global variable
#173PDF Builder for WPForms22321266900SQL query is not prepared
#174Smart Popup by Supsystic223,17250310k+Non Singular String Literal Domain
#175Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App221,5812,326300k+Non-prefixed global variable
#176Premium Addons for Elementor – Powerful Elementor Templates & Widgets222231,036700k+Non-prefixed hook name
#177Prime Mover – Migrate WordPress Website & Backups221,3261,60010k+Non-prefixed global variable
#178Product Catalog Feed by PixelYourSite225813578k+Output is not escaped
#179Pronamic Pay222581,0772k+Non-prefixed global variable
#180PageSpeed Ninja – Cache, Minify, Defer CSS JavaScript, Critical CSS, Optimize Images, Convert WebP229844075k+Unsafe printing function
#181Quick Contact Form222606231k+Non-prefixed function
#182RabbitLoader Cache: Optimize your Website for Speed222411632k+Output is not escaped
#183Restrict User Access – Ultimate Membership & Content Protection229771,84010k+Non-prefixed global variable
#184Seraphinite Accelerator2259425550k+Output is not escaped
#185Slick Popup: Contact Form 7 Popup Plugin222,3223162k+Text Domain Mismatch
#186Slim Jetpack222,5861,9472k+Text Domain Mismatch
#187SNS Count Cache229181208k+Non Singular String Literal Domain
#188NextScripts: Social Networks Auto-Poster222,4081,13330k+Output is not escaped
#189SportsPress – Sports Club & League Manager224602,24610k+Non-prefixed global variable
#190SSL Zen — SSL Certificate Installer & HTTPS Redirects227511,60510k+Non-prefixed global variable
#191SVG Flags – Beautiful Scalable Flags For All Countries!227551,2512k+Non-prefixed global variable
#192Swift Performance Lite222,3461,3257k+Text Domain Mismatch
#193Theme Editor2279868550k+Output is not escaped
#194Customize Feeds for Twitter22921714k+Non-prefixed global variable
#195Ultimate Carousel For Divi225901,566800Non-prefixed global variable
#196Ultimeter227511,3441k+Non-prefixed global variable
#197Uncanny Automator – Easy Automation, Integration, Webhooks & Workflow Builder Plugin225322,36740k+Direct Query
#198Uncanny Toolkit for LearnDash2253999420k+Output is not escaped
#199Unlimited Elements Blocks Library227081,822400Non-prefixed global variable
#200RapidLoad AI – Optimize Web Vitals Automatically2281840700Nonce verification recommended