PHPEval Security & Risk Analysis

wordpress.org/plugins/phpeval

The PHPEval Plugin is a Wordpress plugin which allows users to write php code inside of their pages. Embedded php code will be executed when the post …

10 active installs v1.0.2 PHP + WP 2.9+ Updated Jun 18, 2012
codepagesphppostposts
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is PHPEval Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 13yr ago
Risk Assessment

The "phpeval" v1.0.2 plugin exhibits a strong security posture with no recorded vulnerabilities and a seemingly limited attack surface. The static analysis reveals no critical code signals like dangerous functions or unsanitized taint flows. Furthermore, the absence of AJAX handlers, REST API routes, shortcodes, and cron events without proper authorization checks is a significant strength, indicating thoughtful development regarding entry points.

However, a major concern arises from the output escaping analysis. With 100% of identified outputs being unescaped, this presents a significant risk of Cross-Site Scripting (XSS) vulnerabilities. Even with a limited attack surface and no direct SQL injection or taint flow issues flagged, unescaped output is a common vector for attackers to inject malicious scripts into the user interface. While the plugin has a clean vulnerability history, the lack of output escaping is a serious flaw that needs immediate attention to prevent potential security breaches.

In conclusion, the "phpeval" plugin has commendable aspects like a small attack surface and a clean vulnerability track record. However, the critical deficiency in output escaping poses a substantial risk. This needs to be addressed to bring the plugin to a more secure state, mitigating the potential for XSS attacks.

Key Concerns

  • All outputs are unescaped
Vulnerabilities
None known

PHPEval Security Vulnerabilities

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

PHPEval Release Timeline

v1.0.2Current
v1.0.1
v1.0.0
Code Analysis
Analyzed Mar 17, 2026

PHPEval Code Analysis

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

SQL Query Safety

57% prepared7 total queries

Output Escaping

0% escaped5 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

2 flows
phpeval_save_postdata (phpeval.php:252)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

PHPEval Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionadmin_menuphpeval.php:25
filterthe_contentphpeval.php:145
actionadmin_menuphpeval.php:149
actionsave_postphpeval.php:247
Maintenance & Trust

PHPEval Maintenance & Trust

Maintenance Signals

WordPress version tested3.4.2
Last updatedJun 18, 2012
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

PHPEval Developer Profile

Carsten Jonstrup

1 plugin · 10 total installs

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

How We Detect PHPEval

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

Asset Fingerprints

Script Paths
/wp-content/plugins/phpeval/js/phpeval.js
Version Parameters
phpeval/js/phpeval.js?ver=

HTML / DOM Fingerprints

CSS Classes
phpeval_sectionid
HTML Comments
languagesFilter the contentUse the admin_menu action to define the custom boxesPrints the inner fields for the custom post/page section+1 more
Data Attributes
phpeval_noncenameid="phpeval_noncename"name="phpeval_noncename"id="test"onmouseover="jQuery('#test').html('name="phpeval+4 more
JS Globals
jQuery('#test').html('
Shortcode Output
{phpeval=<?php echo WP_PLUGIN_URL; ?>/phpeval/images/amazon.jpg<?php echo WP_PLUGIN_URL; ?>/phpeval/images/twitter.jpg<?php echo WP_PLUGIN_URL; ?>/phpeval/images/iblogpro.jpg
FAQ

Frequently Asked Questions about PHPEval