P2 Header Ad Security & Risk Analysis

wordpress.org/plugins/p2-header-ad

Places a 468x80 pixel advert inside the header of Automattic's wonderful P2 Theme.

10 active installs v1.7 PHP + WP 3.3+ Updated May 12, 2018
adadvertcodeheaderp2
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is P2 Header Ad Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 7yr ago
Risk Assessment

The "p2-header-ad" plugin v1.7 exhibits a generally good security posture from a static analysis perspective. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits its attack surface. Furthermore, the code signals indicate a lack of dangerous functions, SQL queries using prepared statements, and no file operations or external HTTP requests. The plugin also demonstrates some awareness of security by including capability checks.

Key Concerns

  • Output is not properly escaped
  • No nonce checks present
Vulnerabilities
None known

P2 Header Ad Security Vulnerabilities

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

P2 Header Ad Code Analysis

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

Output Escaping

0% escaped5 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
p2_header_ad_main (p2-header-ad.php:49)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

P2 Header Ad Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actionadmin_menup2-header-ad.php:36
actionplugins_loadedp2-header-ad.php:44
actionget_footerp2-header-ad.php:293
filterthe_contentp2-header-ad.php:335
actionwp_enqueue_scriptsp2-header-ad.php:343
Maintenance & Trust

P2 Header Ad Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedMay 12, 2018
PHP min version
Downloads5K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

P2 Header Ad Developer Profile

Jay Versluis

4 plugins · 10K total installs

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

How We Detect P2 Header Ad

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
p2CodeBox
FAQ

Frequently Asked Questions about P2 Header Ad