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 |
|---|---|---|---|---|---|---|---|---|
| #2251 | Masonry Widget | 41 | 58 | 11 | 500 | Output is not escaped | ||
| #2252 | TechGasp Sound Master | 41 | 136 | 4 | 500 | Output is not escaped | ||
| #2253 | TechGasp Music Master | 41 | 143 | 4 | 500 | Output is not escaped | ||
| #2254 | Sticky Posts – Switch | 41 | 84 | 5 | 6k+ | Output is not escaped | ||
| #2255 | tarteaucitron.io | 41 | 44 | 92 | 10k+ | Output is not escaped | ||
| #2256 | Taxonomy Converter | 41 | 54 | 24 | 600 | Output is not escaped | ||
| #2257 | Taxonomy Filter | 41 | 143 | 40 | 800 | Output is not escaped | ||
| #2258 | Terms of Service & Privacy Policy Generator | 41 | 99 | 1 | 600 | Output is not escaped | ||
| #2259 | Text Replace | 41 | 55 | 12 | 3k+ | Output is not escaped | ||
| #2260 | Theme Duplicator | 41 | 14 | 31 | 400 | Nonce verification recommended | ||
| #2261 | Advanced Editor Tools | 41 | 143 | 84 | 1m+ | Unsafe printing function | ||
| #2262 | TW Pagination | 41 | 90 | 23 | 1k+ | Non Singular String Literal Domain | ||
| #2263 | Unbloater | 41 | 57 | 18 | 5k+ | Output is not escaped | ||
| #2264 | Usersnap | 41 | 37 | 17 | 500 | Output is not escaped | ||
| #2265 | Visibility Logic for Elementor | 41 | 27 | 43 | 30k+ | Output is not escaped | ||
| #2266 | fancyBox 3 for WordPress | 41 | 72 | 11 | 1k+ | Output is not escaped | ||
| #2267 | Waka Bulk Page | 41 | 52 | 16 | 1k+ | Unsafe printing function | ||
| #2268 | WaveSurfer-WP | 41 | 83 | 22 | 400 | Unsafe printing function | ||
| #2269 | Advanced Custom Stock Status | 41 | 84 | 33 | 9k+ | Output is not escaped | ||
| #2270 | Top Image SEO | 41 | 115 | 26 | 5k+ | Unsafe printing function | ||
| #2271 | Quick View For WooCommerce | 41 | 44 | 44 | 1k+ | Output is not escaped | ||
| #2272 | Pay for Payment for WooCommerce | 41 | 29 | 67 | 10k+ | Missing nonce verification | ||
| #2273 | Spam Protect for Contact Form 7 | 41 | 16 | 61 | 10k+ | Request data is not unslashed | ||
| #2274 | WP Content Copy Protection & No Right Click | 41 | 127 | 135 | 100k+ | Unsafe printing function | ||
| #2275 | WP Dashboard Notes | 41 | 24 | 29 | 20k+ | Unsafe printing function | ||
| #2276 | WP Extended Search | 41 | 159 | 37 | 20k+ | Output is not escaped | ||
| #2277 | WP Lorem ipsum | 41 | 37 | 29 | 500 | Unsafe printing function | ||
| #2278 | WP Modal Popup with Cookie Integration | 41 | 88 | 13 | 1k+ | Unsafe printing function | ||
| #2279 | WP Permalink Translator | 41 | 34 | 21 | 2k+ | Unsafe printing function | ||
| #2280 | WP Test Email | 41 | 32 | 28 | 20k+ | Unsafe printing function | ||
| #2281 | User Login Notifier for WordPress | 41 | 72 | 26 | 1k+ | Output is not escaped | ||
| #2282 | WPS Hide Login | 41 | 34 | 72 | 2m+ | Nonce verification recommended | ||
| #2283 | Z-Credit Checkout – WooCommerce Payment Gateway | 41 | 151 | 22 | 900 | Text Domain Mismatch | ||
| #2284 | Zilla Portfolio | 41 | 139 | 15 | 400 | Text Domain Mismatch | ||
| #2285 | Add to Cart Button Custom Text | 42 | 98 | 4 | 9k+ | Text Domain Mismatch | ||
| #2286 | All-in-one Like Widget | 42 | 165 | 2 | 1k+ | Text Domain Mismatch | ||
| #2287 | Open Currency Converter | 42 | 59 | 19 | 1k+ | Unsafe printing function | ||
| #2288 | Automatic NBSP | 42 | 24 | 16 | 3k+ | Output is not escaped | ||
| #2289 | Basic SEO Pack | 42 | 86 | 8 | 700 | Output is not escaped | ||
| #2290 | Bazz CallBack widget | 42 | 55 | 28 | 3k+ | Unsafe printing function | ||
| #2291 | Block Temporary Email | 42 | 33 | 13 | 500 | Unsafe printing function | ||
| #2292 | BP Auto Group Join | 42 | 55 | 55 | 700 | Output is not escaped | ||
| #2293 | Bulk Change Media Author | 42 | 25 | 20 | 2k+ | Unsafe printing function | ||
| #2294 | Custom Spinner for Contact Form 7 | 42 | 36 | 11 | 1k+ | Output is not escaped | ||
| #2295 | HTML Template for CF7 | 42 | 21 | 27 | 1k+ | Non-prefixed global variable | ||
| #2296 | Change Background Color for Pages, Posts, Widgets | 42 | 35 | 7 | 500 | Text Domain Mismatch | ||
| #2297 | Chartbeat | 42 | 33 | 18 | 1k+ | Output is not escaped | ||
| #2298 | Cities Shipping Zones for WooCommerce | 42 | 94 | 44 | 4k+ | Text Domain Mismatch | ||
| #2299 | Comment Reply Email | 42 | 21 | 23 | 500 | Unsafe printing function | ||
| #2300 | Companion Revision Manager – Revision Control | 42 | 18 | 28 | 4k+ | Unsafe printing function |