EM Purchase Code Validator Security & Risk Analysis

wordpress.org/plugins/em-purchase-code-validator

This is a simple plugin to validate your customer purchase code from Envato Market.

100 active installs v1.1 PHP + WP 5.0+ Updated Feb 11, 2022
envato-marketenvato-market-verifyenvato-verifypurchase-code-verifierpurchase-code-verify
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is EM Purchase Code Validator Safe to Use in 2026?

Generally Safe

Score 85/100

EM Purchase Code Validator has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 4yr ago
Risk Assessment

The "em-purchase-code-validator" v1.1 plugin presents a generally good security posture based on the provided static analysis. The absence of dangerous functions, SQL queries executed via prepared statements, file operations, and external HTTP requests are positive indicators. Furthermore, the lack of any recorded vulnerabilities in its history suggests a history of responsible development and maintenance.

However, there are areas for concern. The plugin has a small attack surface consisting of a single shortcode, but critically, it lacks any nonce or capability checks on this entry point. This means that any user, even an unauthenticated one, could potentially interact with the shortcode's functionality. While no taint analysis indicated unsanitized paths, the absence of input validation and output escaping for the shortcode's processing creates a potential risk for cross-site scripting (XSS) or other injection vulnerabilities if the shortcode accepts and directly displays user-supplied data. The moderate percentage of improperly escaped outputs (33%) further supports this concern.

In conclusion, while the plugin's core components appear secure and it has no known vulnerabilities, the lack of proper authentication and authorization checks on its sole entry point (the shortcode) and the presence of unescaped outputs are significant weaknesses. These oversight could lead to vulnerabilities if the shortcode's functionality is not carefully implemented to handle untrusted input.

Key Concerns

  • Shortcode without capability checks
  • Shortcode without nonce checks
  • Unescaped output detected
Vulnerabilities
None known

EM Purchase Code Validator Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

EM Purchase Code Validator Release Timeline

v1.0.5
v1.0.4
v1.0.3
v1.0.2
Code Analysis
Analyzed Mar 16, 2026

EM Purchase Code Validator Code Analysis

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

Output Escaping

67% escaped3 total outputs
Attack Surface

EM Purchase Code Validator Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[em_purchase_code_validator] public\partials\em-puchase-code-validator-public-display.php:59
WordPress Hooks 8
actionadmin_menuadmin\class-em-puchase-code-validator-admin.php:62
actionadmin_initadmin\class-em-puchase-code-validator-admin.php:63
filterplugin_action_linksadmin\class-em-puchase-code-validator-admin.php:64
actionplugins_loadedincludes\class-em-puchase-code-validator.php:142
actionadmin_enqueue_scriptsincludes\class-em-puchase-code-validator.php:157
actionadmin_enqueue_scriptsincludes\class-em-puchase-code-validator.php:158
actionwp_enqueue_scriptsincludes\class-em-puchase-code-validator.php:173
actionwp_enqueue_scriptsincludes\class-em-puchase-code-validator.php:174
Maintenance & Trust

EM Purchase Code Validator Maintenance & Trust

Maintenance Signals

WordPress version tested5.9.13
Last updatedFeb 11, 2022
PHP min version
Downloads6K

Community Trust

Rating100/100
Number of ratings4
Active installs100
Developer Profile

EM Purchase Code Validator Developer Profile

codeheaven

1 plugin · 100 total installs

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

How We Detect EM Purchase Code Validator

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/em-purchase-code-validator/assets/css/em-puchase-code-validator-admin.css/wp-content/plugins/em-purchase-code-validator/assets/js/em-puchase-code-validator-admin.js
Script Paths
/wp-content/plugins/em-purchase-code-validator/assets/js/em-puchase-code-validator-admin.js
Version Parameters
em-puchase-code-validator-admin.css?ver=em-puchase-code-validator-admin.js?ver=

HTML / DOM Fingerprints

Data Attributes
name="em_settings[em_text_field_0]"
FAQ

Frequently Asked Questions about EM Purchase Code Validator