HTML Import 2 Security & Risk Analysis

wordpress.org/plugins/import-html-pages

Imports well-formed HTML files into WordPress pages.

6K active installs v2.6 PHP + WP 3.0+ Updated Nov 28, 2017
importpagesstatic-filestaxonomiestaxonomy
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is HTML Import 2 Safe to Use in 2026?

Generally Safe

Score 85/100

HTML Import 2 has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8yr ago
Risk Assessment

The "import-html-pages" v2.6 plugin exhibits a generally strong security posture based on the provided static analysis and vulnerability history. The absence of known CVEs and a history of no recorded vulnerabilities, coupled with 100% of SQL queries using prepared statements, are positive indicators. Furthermore, the limited attack surface with zero unprotected entry points is commendable. However, there are areas of concern that warrant attention. The presence of two instances of the `create_function` dangerous function, while not directly exploited in the provided analysis, represents a known security risk in PHP and should ideally be refactored. Additionally, a 71% rate of proper output escaping, while not critically low, suggests that a portion of the plugin's output may be vulnerable to cross-site scripting (XSS) attacks if not properly handled by WordPress core or other security measures. The limited taint analysis results are encouraging, indicating no critical or high severity unsanitized flows were detected.

Key Concerns

  • Use of dangerous function create_function
  • Output escaping only 71% proper
Vulnerabilities
None known

HTML Import 2 Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

HTML Import 2 Code Analysis

Dangerous Functions
2
Raw SQL Queries
0
0 prepared
Unescaped Output
34
83 escaped
Nonce Checks
1
Capability Checks
0
File Operations
3
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

create_function$string = preg_replace_callback( "/<[^>]*>/i",create_function(html-importer.php:227
create_function$string = preg_replace_callback( '|<( /?[A-Z]+ )|', create_function( '$match', 'return "<" . strtolohtml-importer.php:237

Output Escaping

71% escaped117 total outputs
Attack Surface

HTML Import 2 Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionadmin_inithtml-import.php:32
actionadmin_inithtml-import.php:69
actionadmin_menuhtml-import.php:92
actionadmin_headhtml-importer.php:1153
Maintenance & Trust

HTML Import 2 Maintenance & Trust

Maintenance Signals

WordPress version tested4.6.30
Last updatedNov 28, 2017
PHP min version
Downloads295K

Community Trust

Rating86/100
Number of ratings32
Active installs6K
Developer Profile

HTML Import 2 Developer Profile

Stephanie Leary

16 plugins · 17K total installs

68
trust score
Avg Security Score
84/100
Avg Patch Time
2856 days
View full developer profile
Detection Fingerprints

How We Detect HTML Import 2

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/import-html-pages/html-import-styles.css/wp-content/plugins/import-html-pages/js/tabs.js
Script Paths
/wp-content/plugins/import-html-pages/js/tabs.js

HTML / DOM Fingerprints

CSS Classes
ui-tabsui-tabs-navnav-tab-wrappernav-tab
Data Attributes
data-region
FAQ

Frequently Asked Questions about HTML Import 2