PhotoRoulette Security & Risk Analysis

wordpress.org/plugins/photoroulette

The interactive random post loader activated by site visitors.

10 active installs v1.1.0 PHP + WP 4.0+ Updated Sep 24, 2015
attractioninteractivephotophoto-blogphotoblog
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is PhotoRoulette Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 10yr ago
Risk Assessment

The plugin "photoroulette" v1.1.0 exhibits a mixed security posture. On the positive side, it demonstrates good practices by not having any exposed REST API routes, shortcodes, or cron events, resulting in a small total attack surface. Furthermore, all SQL queries are correctly parameterized, and there are no known vulnerabilities or CVEs associated with this plugin, indicating a history of relatively safe development. The absence of file operations and external HTTP requests also reduces potential attack vectors.

However, several areas raise concerns. The presence of the `create_function` function is a significant red flag as it is highly discouraged and can lead to remote code execution vulnerabilities if used with untrusted input. The output escaping is also a weakness, with only 28% of outputs being properly escaped, leaving a substantial number of potential XSS vulnerabilities. While there is one nonce check, there are no capability checks for the AJAX handlers, meaning any authenticated user could potentially trigger these endpoints without proper authorization. The taint analysis showing zero flows analyzed is also concerning as it suggests insufficient testing for potential data leakage or manipulation.

In conclusion, while the plugin benefits from a limited attack surface and a clean vulnerability history, the identified code signals, particularly `create_function` and insufficient output escaping and capability checks on AJAX handlers, represent tangible security risks. The lack of taint analysis also suggests that some vulnerabilities might remain undetected. A thorough review and remediation of these specific issues are recommended to improve the overall security of the plugin.

Key Concerns

  • Dangerous function `create_function` used
  • Low percentage of properly escaped output
  • No capability checks on AJAX handlers
  • No taint flow analysis performed
Vulnerabilities
None known

PhotoRoulette Security Vulnerabilities

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

PhotoRoulette Release Timeline

v1.1.0Current
Code Analysis
Analyzed Apr 16, 2026

PhotoRoulette Code Analysis

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

Dangerous Functions Found

create_functionadd_action( 'widgets_init', create_function( '', 'return register_widget("PWP_Photoroulette_Widget")widget.php:222

Output Escaping

28% escaped53 total outputs
Attack Surface

PhotoRoulette Attack Surface

Entry Points2
Unprotected0

AJAX Handlers 2

authwp_ajax_pwppr_actionsmain.php:18
noprivwp_ajax_pwppr_actionsmain.php:20
WordPress Hooks 4
actionwp_enqueue_scriptsmain.php:13
actionadmin_enqueue_scriptsmain.php:14
actionplugins_loadedmain.php:15
actionwidgets_initwidget.php:222
Maintenance & Trust

PhotoRoulette Maintenance & Trust

Maintenance Signals

WordPress version tested4.3.34
Last updatedSep 24, 2015
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

PhotoRoulette Developer Profile

polkan

2 plugins · 50 total installs

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

How We Detect PhotoRoulette

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/photoroulette/css/style.css/wp-content/plugins/photoroulette/js/scripts.js/wp-content/plugins/photoroulette/css/style-admin.css/wp-content/plugins/photoroulette/js/scripts-admin.js
Script Paths
/wp-content/plugins/photoroulette/js/scripts.js/wp-content/plugins/photoroulette/js/scripts-admin.js
Version Parameters
photoroulette/css/style.css?ver=photoroulette/js/scripts.js?ver=photoroulette/css/style-admin.css?ver=photoroulette/js/scripts-admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
pwppr-stylespwpph-styles-adm
JS Globals
pwppr
FAQ

Frequently Asked Questions about PhotoRoulette