PHP Code Widget

php-code-widget
high
v2.4Score: 50 / 10070,000+ installs4.7/5 (61 ratings)Analyzed 2026-08-12

Like the Text widget, but also allows working PHP code to be inserted.

Samuel Wood (Otto) · Tested: WP 5.9.15 · Requires: WP 2.8 · PHP False+ · Updated: 2022-03-30 4:55pm GMT

Why 50/100? Score breakdown

Not updated recently+40
Static-analysis warning density+5
OWASP-pattern findings+5

The risk score (0–100) estimates exposure; it is not a count of confirmed vulnerabilities. Large, well-maintained plugins score high because they expose more code. Levels: critical ≥ 70, high ≥ 50, medium ≥ 30, low ≥ 10, minimal below 10.

The full analysis of PHP Code Widget 2.4 covers its attack surface (input parameters, endpoints, REST routes), static analysis (PHPCS security rules, PHPStan, Phan), OWASP Top 10 findings, known CVEs and CISA KEV status. It loads here when JavaScript is enabled. Raw data: JSON.