WordPress Importer Security & Risk Analysis

wordpress.org/plugins/wordpress-importer

Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.

2.0M active installs v0.9.5 PHP 7.2+ WP 5.2+ Updated Nov 5, 2025
importer
98
A · Safe
CVEs total1
Unpatched0
Last CVEMar 25, 2025
Safety Verdict

Is WordPress Importer Safe to Use in 2026?

Generally Safe

Score 98/100

WordPress Importer has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Mar 25, 2025Updated 4mo ago
Risk Assessment

The wordpress-importer plugin version 0.9.5 demonstrates a generally positive security posture based on static analysis. The absence of any identified AJAX handlers, REST API routes, shortcodes, or cron events with unprotected entry points is a significant strength, indicating a well-defined and secured attack surface. The use of prepared statements for all SQL queries and the high percentage of properly escaped output further contribute to good coding practices and reduced risk of common web vulnerabilities. The presence of nonce and capability checks, although limited in number, also suggests an awareness of security fundamentals.

However, concerns arise from the detection of 14 instances of the 'assert' function, which can be a source of security vulnerabilities if misused, especially in conjunction with user-supplied input. While taint analysis revealed no critical or high severity flows, the 'assert' function itself warrants careful review for potential misuse. The plugin's vulnerability history, with a past high-severity CVE related to Deserialization of Untrusted Data, is a notable weakness. Although currently unpatched CVEs are zero, this history suggests a recurring pattern of potential risks that require ongoing vigilance and robust security practices during development and updates.

In conclusion, the plugin exhibits strengths in its limited attack surface and use of secure coding practices like prepared statements and output escaping. These are commendable. The primary weaknesses lie in the presence of the 'assert' function, which introduces a potential risk that requires thorough code review, and the plugin's past vulnerability history, particularly in deserialization, which mandates continued attention to secure development and patching. The lack of active critical or high vulnerabilities currently is positive, but the historical context and the 'assert' function's presence suggest that a moderate level of caution is still advised.

Key Concerns

  • Dangerous function 'assert' found
  • Past high severity CVE related to deserialization
Vulnerabilities
1

WordPress Importer Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

High
1

1 total CVE

CVE-2024-13889high · 7.2Deserialization of Untrusted Data

WordPress Importer <= 0.8.3 - Authenticated (Administrator+) PHP Object Injection

Mar 25, 2025 Patched in 0.8.4 (1d)
Code Analysis
Analyzed Mar 16, 2026

WordPress Importer Code Analysis

Dangerous Functions
14
Raw SQL Queries
0
4 prepared
Unescaped Output
29
65 escaped
Nonce Checks
2
Capability Checks
1
File Operations
26
External Requests
1
Bundled Libraries
0

Dangerous Functions Found

assertassert($bin !== false);php-toolkit\DataLiberation\vendor-patched\brick\math\src\BigInteger.php:1002
assertassert($value instanceof static);php-toolkit\DataLiberation\vendor-patched\brick\math\src\BigNumber.php:68
assertassert($numerator !== null);php-toolkit\DataLiberation\vendor-patched\brick\math\src\BigNumber.php:107
assertassert($denominator !== null);php-toolkit\DataLiberation\vendor-patched\brick\math\src\BigNumber.php:108
assertassert($carry === 0);php-toolkit\DataLiberation\vendor-patched\brick\math\src\Internal\Calculator\NativeCalculator.php:394
assertassert( is_array( $codePoints[0] ) );php-toolkit\DataLiberation\vendor-patched\rowbot\idna\bin\RegexBuilder.php:191
assertassert( ! $input->isEmpty() );php-toolkit\DataLiberation\vendor-patched\rowbot\url\src\Component\Host\HostParser.php:74
assertassert( $arrayIsListFunction( $address ) );php-toolkit\DataLiberation\vendor-patched\rowbot\url\src\Component\Host\IPv6AddressParser.php:214
assertassert( $arrayIsListFunction( $address ) );php-toolkit\DataLiberation\vendor-patched\rowbot\url\src\Component\Host\IPv6AddressParser.php:364
assertassert( is_numeric( $str ) );php-toolkit\DataLiberation\vendor-patched\rowbot\url\src\Component\Host\Math\BrickMathAdapter.php:92
assertassert( $context->base !== null );php-toolkit\DataLiberation\vendor-patched\rowbot\url\src\State\RelativeSlashState.php:17
assertassert( $context->base !== null && ! $context->base->scheme->isFile() );php-toolkit\DataLiberation\vendor-patched\rowbot\url\src\State\RelativeState.php:19
assertassert(php-toolkit\DataLiberation\vendor-patched\rowbot\url\src\State\SchemeState.php:104
assertassert( $parsedURL->url !== null );php-toolkit\DataLiberation\vendor-patched\rowbot\url\src\URL.php:84

SQL Query Safety

100% prepared4 total queries

Output Escaping

69% escaped94 total outputs
Attack Surface

WordPress Importer Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
filterimport_post_meta_keyclass-wp-import.php:102
filterhttp_request_timeoutclass-wp-import.php:103
actionadmin_initwordpress-importer.php:78
Maintenance & Trust

WordPress Importer Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedNov 5, 2025
PHP min version7.2
Downloads67.7M

Community Trust

Rating62/100
Number of ratings315
Active installs2.0M
Developer Profile

WordPress Importer Developer Profile

WordPress.org

34 plugins · 14.9M total installs

77
trust score
Avg Security Score
97/100
Avg Patch Time
1718 days
View full developer profile
Detection Fingerprints

How We Detect WordPress Importer

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wordpress-importer/parsers/class-wxr-parser-xml-processor.php/wp-content/plugins/wordpress-importer/parsers/class-wxr-parser-regex.php/wp-content/plugins/wordpress-importer/parsers/class-wxr-parser-simplexml.php/wp-content/plugins/wordpress-importer/parsers/class-wxr-parser.php/wp-content/plugins/wordpress-importer/class-wp-import.php/wp-content/plugins/wordpress-importer/compat.php

HTML / DOM Fingerprints

HTML Comments
<!-- WordPress Importer class for managing the import process of a WXR file --><!-- Max. supported WXR version --><!-- Import options. --><!-- Registered callback function for the WordPress Importer -->+25 more
JS Globals
window.WP_Importer
FAQ

Frequently Asked Questions about WordPress Importer