WordPress.Security.EscapeOutput.UnsafePrintingFunction
Unsafe printing function
A printing function is outputting dynamic content without proving that the content is escaped.
Why It Shows Up
The scan saw output through functions such as `printf`, `print`, or similar constructs where the printed values were not escaped for their context.
Why It Matters
Formatted output is still browser output. If any argument contains attacker-controlled content, the page can become vulnerable to cross-site scripting.
How to Fix
- Escape every dynamic argument with `esc_html()`, `esc_attr()`, `esc_url()`, or `wp_kses()` as appropriate.
- Keep translation wrappers and escaping wrappers in the correct order, such as `esc_html__( 'Text', 'text-domain' )` for translated text.
- Avoid marking values as safe unless they are hard-coded or already strictly constrained.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #2051 | Post Tiles | 40 | 46 | 5 | 400 | Output is not escaped | ||
| #2052 | Private Google Calendars | 40 | 227 | 37 | 1k+ | Output is not escaped | ||
| #2053 | Privilege Widget | 40 | 139 | 52 | 600 | Text Domain Mismatch | ||
| #2054 | PT Theme Addon | 40 | 67 | 21 | 1k+ | Output is not escaped | ||
| #2055 | Quick Child Theme Generator | 40 | 22 | 74 | 900 | Request data is not unslashed | ||
| #2056 | Recent & Featured Posts Widget | 40 | 124 | 2 | 600 | Output is not escaped | ||
| #2057 | Random Post Plugin – Redirect URL to Post | 40 | 28 | 74 | 3k+ | Nonce verification recommended | ||
| #2058 | Redirector | 40 | 48 | 32 | 7k+ | Output is not escaped | ||
| #2059 | Rename default post Labels | 40 | 54 | 36 | 600 | Text Domain Mismatch | ||
| #2060 | Responsive Full Width Background Slider | 40 | 131 | 22 | 2k+ | Unsafe printing function | ||
| #2061 | Responsive Gallery Grid | 40 | 90 | 14 | 4k+ | Output is not escaped | ||
| #2062 | Responsive Sidebar | 40 | 43 | 12 | 700 | Output is not escaped | ||
| #2063 | Responsive Slider | 40 | 28 | 15 | 3k+ | Output is not escaped | ||
| #2064 | Risk Free Cash On Delivery (COD) – WooCommerce | 40 | 106 | 31 | 400 | Text Domain Mismatch | ||
| #2065 | LazyLoad Plugin – Lazy Load Images, Videos, and Iframes | 40 | 31 | 17 | 100k+ | Output is not escaped | ||
| #2066 | Role Based Redirect | 40 | 20 | 96 | 2k+ | Non-prefixed global variable | ||
| #2067 | Salat Times | 40 | 235 | 20 | 500 | Output is not escaped | ||
| #2068 | Same Category Posts | 40 | 183 | 8 | 3k+ | Output is not escaped | ||
| #2069 | Schedule Posts Calendar | 40 | 74 | 36 | 1k+ | Output is not escaped | ||
| #2070 | Search with Typesense | 40 | 81 | 122 | 700 | Non-prefixed global variable | ||
| #2071 | Secondary Title | 40 | 117 | 31 | 7k+ | Unsafe printing function | ||
| #2072 | Select All Categories and Taxonomies, Change Checkbox to Radio Buttons | 40 | 116 | 30 | 3k+ | Output is not escaped | ||
| #2073 | Sendy Widget | 40 | 46 | 17 | 700 | Output is not escaped | ||
| #2074 | Multipage | 40 | 72 | 28 | 900 | Unsafe printing function | ||
| #2075 | Contact Info Widget | 40 | 184 | 3 | 1k+ | Output is not escaped | ||
| #2076 | AdFlow – Easy Google AdSense Integration | 40 | 150 | 9 | 3k+ | Unsafe printing function | ||
| #2077 | Simple Link List Widget | 40 | 129 | 8 | 2k+ | Output is not escaped | ||
| #2078 | Simple Page Sidebars | 40 | 55 | 65 | 10k+ | Output is not escaped | ||
| #2079 | Simple Restrict | 40 | 35 | 13 | 1k+ | Output is not escaped | ||
| #2080 | Sinatra Core | 40 | 101 | 15 | 8k+ | Output is not escaped | ||
| #2081 | SportsPress for Cricket | 40 | 122 | 34 | 500 | Text Domain Mismatch | ||
| #2082 | Statify Widget | 40 | 52 | 13 | 4k+ | Output is not escaped | ||
| #2083 | Stax Addons for Elementor | 40 | 143 | 81 | 500 | Output is not escaped | ||
| #2084 | CPS | Age Verification | 40 | 127 | 35 | 800 | Unsafe printing function | ||
| #2085 | Tealium | 40 | 73 | 19 | 600 | Unsafe printing function | ||
| #2086 | Theme Toolkit | 40 | 53 | 14 | 500 | Output is not escaped | ||
| #2087 | Theme and plugin translation for Polylang (TTfP) | 40 | 102 | 62 | 10k+ | Text Domain Mismatch | ||
| #2088 | ThemeZee Toolkit | 40 | 44 | 116 | 6k+ | Nonce verification recommended | ||
| #2089 | Timed Content | 40 | 76 | 63 | 5k+ | Unsafe printing function | ||
| #2090 | turboSMTP | 40 | 114 | 112 | 400 | Unsafe printing function | ||
| #2091 | TW Recent Posts Widget | 40 | 97 | 14 | 1k+ | Output is not escaped | ||
| #2092 | TZ Flickr Widget | 40 | 67 | 7 | 500 | Output is not escaped | ||
| #2093 | Ultimate Custom Cursor | 40 | 138 | 3 | 800 | Output is not escaped | ||
| #2094 | Ultimate Noindex Nofollow Tool II | 40 | 38 | 51 | 3k+ | Input is not validated | ||
| #2095 | Ultimate Member – ForumWP forum integration | 40 | 31 | 73 | 500 | Nonce verification recommended | ||
| #2096 | Universal Honey Pot | 40 | 23 | 94 | 1k+ | Missing nonce verification | ||
| #2097 | Unlimited Logo Carousel | 40 | 286 | 15 | 500 | Text Domain Mismatch | ||
| #2098 | Upcoming Events Lists | 40 | 75 | 17 | 900 | Text Domain Mismatch | ||
| #2099 | Url Rewrite Analyzer | 40 | 73 | 23 | 400 | Unsafe printing function | ||
| #2100 | UsersWP – ReCaptcha | 40 | 80 | 17 | 3k+ | Text Domain Mismatch |