WriteToThem Widget Security & Risk Analysis

wordpress.org/plugins/writetothem

A widget which provides an entry point for mySociety's WriteToThem.com, now completely re-written.

10 active installs v2.1.1 PHP + WP 3.4.2+ Updated Sep 1, 2014
democracymysocietypoliticswritetothem
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WriteToThem Widget Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 11yr ago
Risk Assessment

The plugin "writetothem" v2.1.1 exhibits a generally good security posture, primarily due to a lack of identified attack surface and a complete absence of known vulnerabilities. The static analysis reveals no AJAX handlers, REST API routes, shortcodes, or cron events, which significantly reduces the potential entry points for attackers. Furthermore, all SQL queries are properly prepared, and there are no external HTTP requests or bundled libraries that might introduce risks. This indicates a conscientious approach to development in these areas.

However, the analysis does highlight a few areas of concern. The presence of the `create_function` dangerous function is a significant red flag, as it can be a source of code injection vulnerabilities if not handled with extreme care. Additionally, the low percentage (20%) of properly escaped output suggests that there's a high likelihood of cross-site scripting (XSS) vulnerabilities. The absence of nonce and capability checks on all identified entry points, though the number of entry points is zero, would be a major concern if any were present, and their complete omission might indicate a lack of robust access control implementation. The vulnerability history being completely clear is a positive sign, but it could also mean the plugin hasn't been extensively tested or targeted.

In conclusion, while the plugin's lack of a broad attack surface and clean vulnerability history are commendable, the identified use of `create_function` and the poor output escaping warrant attention. These issues, if exploited, could lead to serious security compromises. The absence of explicit auth checks on all potential points of interaction is a weakness that, combined with the other issues, elevates the risk profile beyond what the clean CVE history might suggest.

Key Concerns

  • Dangerous function 'create_function' used
  • Low percentage of output escaping (20%)
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

WriteToThem Widget Security Vulnerabilities

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

WriteToThem Widget Code Analysis

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

Dangerous Functions Found

create_functionadd_action( 'widgets_init', create_function( '', 'register_widget( "WriteToThem" );' ) );writetothem.php:199

Output Escaping

20% escaped20 total outputs
Attack Surface

WriteToThem Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwidgets_initwritetothem.php:199
Maintenance & Trust

WriteToThem Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.0.38
Last updatedSep 1, 2014
PHP min version
Downloads2K

Community Trust

Rating20/100
Number of ratings1
Active installs10
Developer Profile

WriteToThem Widget Developer Profile

Philip John

7 plugins · 430 total installs

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

How We Detect WriteToThem Widget

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

Asset Fingerprints

HTML / DOM Fingerprints

Shortcode Output
<form method="get" action="http://www.writetothem.com/"><input type="hidden" name="a" value="<div style=""><label for="text">
FAQ

Frequently Asked Questions about WriteToThem Widget