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 |
|---|---|---|---|---|---|---|---|---|
| #1701 | Greek Multi Tool – Greeklish Slugs, Permalinks & Transliteration | 38 | 160 | 82 | 1k+ | Unsafe printing function | ||
| #1702 | HashThemes Demo Importer | 38 | 71 | 44 | 6k+ | Output is not escaped | ||
| #1703 | CAOS | Host Google Analytics Locally | 38 | 124 | 44 | 10k+ | Output is not escaped | ||
| #1704 | Illdy Companion | 38 | 187 | 23 | 6k+ | Output is not escaped | ||
| #1705 | Import to Photo Gallery from NextGen gallery | 38 | 80 | 83 | 400 | Direct Query | ||
| #1706 | Coding Chicken – JetEngine Importer | 38 | 55 | 29 | 400 | Missing direct file access protection | ||
| #1707 | Insert PHP Code Snippet | 38 | 164 | 227 | 90k+ | Output is not escaped | ||
| #1708 | 3D FlipBook – PDF Embedder, PDF Flipbook Viewer, Flipbook Image Gallery | 38 | 353 | 77 | 80k+ | Non Singular String Literal Domain | ||
| #1709 | JC Submenu | 38 | 279 | 32 | 4k+ | Output is not escaped | ||
| #1710 | Jock On Air Now (JOAN) | 38 | 121 | 224 | 500 | Output is not escaped | ||
| #1711 | jQuery Pin It Button for Images | 38 | 129 | 36 | 10k+ | Output is not escaped | ||
| #1712 | Lana Downloads Manager | 38 | 146 | 78 | 3k+ | Unsafe printing function | ||
| #1713 | Lightning Advanced Unit | 38 | 189 | 27 | 3k+ | Output is not escaped | ||
| #1714 | Migrate Store: Export and Import WooCommerce Settings | 38 | 37 | 33 | 1k+ | Non-prefixed global variable | ||
| #1715 | Monetag Official Plugin | 38 | 133 | 32 | 5k+ | Text Domain Mismatch | ||
| #1716 | Most And Least Read Posts Widget | 38 | 130 | 24 | 1k+ | Output is not escaped | ||
| #1717 | MultiLine Files for Contact Form 7 | 38 | 98 | 40 | 9k+ | Text Domain Mismatch | ||
| #1718 | Name Directory | 38 | 520 | 309 | 2k+ | Output is not escaped | ||
| #1719 | Note – A live edit text widget | 38 | 118 | 49 | 1k+ | Output is not escaped | ||
| #1720 | One Click Order Re-Order | 38 | 139 | 63 | 1k+ | Non Singular String Literal Domain | ||
| #1721 | Open Graphite | 38 | 380 | 204 | 3k+ | Unsafe printing function | ||
| #1722 | Page Links To | 38 | 31 | 40 | 100k+ | Unsafe printing function | ||
| #1723 | PayTR Taksit Tablosu – WooCommerce | 38 | 67 | 39 | 3k+ | Non Singular String Literal Domain | ||
| #1724 | PDF Catalog for WooCommerce | 38 | 30 | 46 | 1k+ | Nonce verification recommended | ||
| #1725 | Podlove Subscribe button | 38 | 148 | 45 | 2k+ | Output is not escaped | ||
| #1726 | Polaroid Gallery | 38 | 105 | 20 | 1k+ | Unsafe printing function | ||
| #1727 | PopCash Code Integration Tool | 38 | 77 | 109 | 400 | Nonce verification recommended | ||
| #1728 | Popular Posts by Webline | 38 | 256 | 8 | 1k+ | Output is not escaped | ||
| #1729 | Popular Widget | 38 | 61 | 30 | 700 | Unsafe printing function | ||
| #1730 | Post views Stats | 38 | 37 | 51 | 1k+ | Non-prefixed global variable | ||
| #1731 | PostLinks | 38 | 107 | 10 | 700 | Output is not escaped | ||
| #1732 | qTranslate META | 38 | 88 | 26 | 400 | Output is not escaped | ||
| #1733 | qTranslate X Cleanup and WPML Import | 38 | 167 | 102 | 800 | Text Domain Mismatch | ||
| #1734 | RDP Wiki Embed | 38 | 69 | 26 | 400 | Output is not escaped | ||
| #1735 | Recent Posts Plus | 38 | 111 | 4 | 1k+ | Output is not escaped | ||
| #1736 | WP REST API – OAuth 1.0a Server | 38 | 100 | 85 | 8k+ | Text Domain Mismatch | ||
| #1737 | Like This | 38 | 60 | 17 | 1k+ | Output is not escaped | ||
| #1738 | RSS Feed Widget | 38 | 207 | 89 | 2k+ | Unsafe printing function | ||
| #1739 | Invoice123 | 38 | 139 | 88 | 400 | Text Domain Mismatch | ||
| #1740 | Schema App Structured Data | 38 | 35 | 86 | 7k+ | Nonce verification recommended | ||
| #1741 | Shutter Reloaded | 38 | 194 | 95 | 1k+ | Text Domain Mismatch | ||
| #1742 | Simple Expires | 38 | 32 | 39 | 500 | Non Singular String Literal Domain | ||
| #1743 | Simple Google Sitemap XML | 38 | 38 | 8 | 2k+ | Output is not escaped | ||
| #1744 | SimpleShop | 38 | 52 | 51 | 1k+ | date date | ||
| #1745 | Slickstream: Engagement and Conversions | 38 | 100 | 19 | 2k+ | Output is not escaped | ||
| #1746 | Social Icons | 38 | 72 | 83 | 10k+ | Output is not escaped | ||
| #1747 | SOGO Accessibility | 38 | 147 | 40 | 5k+ | Non Singular String Literal Domain | ||
| #1748 | SRS Simple Hits Counter | 38 | 43 | 98 | 8k+ | Output is not escaped | ||
| #1749 | Standout CSS3 Buttons | 38 | 183 | 15 | 500 | Output is not escaped | ||
| #1750 | Stock Market News | 38 | 71 | 11 | 500 | Output is not escaped |