Insert Html Snippet Security & Risk Analysis

wordpress.org/plugins/insert-html-snippet

Add HTML, CSS and javascript code to your pages and posts easily using shortcodes.

20K active installs v1.4.3 PHP + WP 5.0+ Updated Oct 23, 2025
add-htmlinsert-addthis-codeinsert-adsinsert-adsenseinsert-html
100
A · Safe
CVEs total1
Unpatched0
Last CVENov 29, 2016
Safety Verdict

Is Insert Html Snippet Safe to Use in 2026?

Generally Safe

Score 100/100

Insert Html Snippet has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Nov 29, 2016Updated 5mo ago
Risk Assessment

The "insert-html-snippet" plugin version 1.4.4 exhibits a mixed security posture. On the positive side, there are no reported critical or high severity vulnerabilities in its history, and the static analysis did not reveal any critical or high severity taint flows or dangerous functions. The plugin also demonstrates good practices with a significant number of nonce checks and capability checks, and the majority of its SQL queries utilize prepared statements, reducing the risk of SQL injection.

However, there are notable areas of concern. The presence of an unprotected AJAX handler significantly increases the attack surface. Furthermore, the code analysis indicates that only 37% of output is properly escaped, leaving room for potential Cross-Site Scripting (XSS) vulnerabilities, which is corroborated by its past vulnerability history including a medium severity XSS issue. The plugin's single known CVE, although patched, was for XSS, suggesting a historical susceptibility to this type of vulnerability. The limited number of capability checks in conjunction with an unprotected AJAX endpoint is a significant weakness.

In conclusion, while the plugin has made efforts to secure its codebase through prepared statements and nonce checks, the unprotected AJAX handler and poor output escaping practices present real risks. The historical XSS vulnerability further emphasizes the need for vigilance in sanitizing user inputs and ensuring all entry points are properly authenticated and authorized.

Key Concerns

  • Unprotected AJAX handler present
  • Low percentage of output properly escaped
  • One medium severity vulnerability in history (XSS)
  • Limited capability checks (3)
Vulnerabilities
1

Insert Html Snippet Security Vulnerabilities

CVEs by Year

1 CVE in 2016
2016
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

WF-71aeca29-a9bd-42c0-8150-814b79e931fa-insert-html-snippetmedium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Insert Html Snippet <= 1.2 - Cross-Site Request Forgery to Stored Cross-Site Scripting

Nov 29, 2016 Patched in 1.2.1 (2611d)
Code Analysis
Analyzed Mar 16, 2026

Insert Html Snippet Code Analysis

Dangerous Functions
0
Raw SQL Queries
13
31 prepared
Unescaped Output
144
86 escaped
Nonce Checks
12
Capability Checks
3
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

70% prepared44 total queries

Output Escaping

37% escaped230 total outputs
Data Flows
All sanitized

Data Flow Analysis

8 flows
<header> (admin\header.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
1 unprotected

Insert Html Snippet Attack Surface

Entry Points3
Unprotected1

AJAX Handlers 2

authwp_ajax_ihs_backlinkajax-handler.php:6
authwp_ajax_xyz_ihs_sync_usageajax-handler.php:23

Shortcodes 1

[xyz-ihs] shortcode-handler.php:8
WordPress Hooks 21
actionadmin_initadd_shortcode_tynimce.php:5
filtermce_buttonsadd_shortcode_tynimce.php:12
filtermce_external_pluginsadd_shortcode_tynimce.php:13
actionadmin_noticesadmin\admin-notices.php:75
actionadmin_menuadmin\menu.php:10
actionadmin_enqueue_scriptsadmin\menu.php:89
filterquery_varsdirect_call.php:9
actionparse_requestdirect_call.php:20
actionwp_footerinsert-html-snippet.php:59
actionadmin_initinsert-html-snippet.php:66
actionadmin_enqueue_scriptsinsert-html-snippet.php:89
actionadmin_footerinsert-html-snippet.php:92
actionsave_postinsert-html-snippet.php:112
actionbefore_delete_postinsert-html-snippet.php:127
actionadmin_headshortcode-handler.php:20
actionadmin_footershortcode-handler.php:30
actionwp_headshortcode-handler.php:41
actionwp_footershortcode-handler.php:52
filterwidget_textshortcode-handler.php:137
actionwidgets_initwidget.php:96
filterplugin_row_metaxyz-functions.php:67
Maintenance & Trust

Insert Html Snippet Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedOct 23, 2025
PHP min version
Downloads648K

Community Trust

Rating98/100
Number of ratings235
Active installs20K
Developer Profile

Insert Html Snippet Developer Profile

f1logic

15 plugins · 142K total installs

73
trust score
Avg Security Score
92/100
Avg Patch Time
352 days
View full developer profile
Detection Fingerprints

How We Detect Insert Html Snippet

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/insert-html-snippet/images/logo.png
Script Paths
/wp-content/plugins/insert-html-snippet/js/admin.js
Version Parameters
insert-html-snippet/css/admin.css?ver=insert-html-snippet/js/admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
xyz-ihs-modal-overlayxyz-ihs-modal-boxxyz-ihs-modal-buttonsxyz-ihs-proceed-deactivatexyz-ihs-cancel-deactivate
HTML Comments
<!-- update manual shortcode counts -->
Data Attributes
data-xyz-ihs-shortcode-id
JS Globals
xyz_ihs_shortcode_id
Shortcode Output
[xyz-ihs-snippet id="[xyz-ihs-snippet]
FAQ

Frequently Asked Questions about Insert Html Snippet