Screenshot Generator Security & Risk Analysis

wordpress.org/plugins/screenshot-generator

Screenshot Generator takes screenshots of posts and pages when they are updated. These screenshots can be used for e.g. previews in social media.

10 active installs v0.1.7 PHP + WP 4.0.0+ Updated May 5, 2015
phantomjspreviewscreendumpscreenshotsocial
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Screenshot Generator Safe to Use in 2026?

Generally Safe

Score 85/100

Screenshot Generator 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 'screenshot-generator' plugin v0.1.7 presents a mixed security posture. While there's no known vulnerability history and SQL queries are properly prepared, several significant code signals raise concerns. The presence of the `exec` function, combined with a complete lack of output escaping, creates a substantial risk for cross-site scripting (XSS) and arbitrary code execution vulnerabilities. Taint analysis reveals flows with unsanitized paths, indicating potential injection risks, though no critical or high severity issues were identified in this specific analysis. The absence of nonce checks and capability checks on entry points, despite a seemingly small attack surface, means that if any vulnerabilities were to be introduced, they could be exploited with relative ease. The plugin's strengths lie in its clean history and secure database interactions, but the critical weaknesses in output handling and the use of dangerous functions require immediate attention.

Key Concerns

  • Dangerous function 'exec' used
  • Output escaping not implemented
  • Flows with unsanitized paths detected
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Screenshot Generator Security Vulnerabilities

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

Screenshot Generator Release Timeline

v0.1.7Current
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
Code Analysis
Analyzed Mar 17, 2026

Screenshot Generator Code Analysis

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

Dangerous Functions Found

execexec($escaped_command);screenshot-generator.php:98
exec$path = exec('which phantomjs');screenshot-generator.php:117

Output Escaping

0% escaped11 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
scrgen_admin_regenerate (admin.php:18)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Screenshot Generator Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_menuadmin.php:2
actionadmin_initadmin.php:3
actionadmin_action_scrgen-regenerateadmin.php:4
actionscrgen_update_post_screenshotscreenshot-generator.php:167
actionscrgen_post_screenshot_generatedscreenshot-generator.php:168
actionpost_updatedscreenshot-generator.php:169
actionwp_headscreenshot-generator.php:171

Scheduled Events 1

scrgen_update_post_screenshot
Maintenance & Trust

Screenshot Generator Maintenance & Trust

Maintenance Signals

WordPress version tested4.2.39
Last updatedMay 5, 2015
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Screenshot Generator Developer Profile

lassebunk

2 plugins · 110 total installs

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

How We Detect Screenshot Generator

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

Asset Fingerprints

Version Parameters
screenshot-generator/style.css?ver=screenshot-generator/admin.js?ver=

HTML / DOM Fingerprints

Data Attributes
data-scrgen-widthdata-scrgen-heightdata-scrgen-enable-croppingdata-scrgen-crop-leftdata-scrgen-crop-topdata-scrgen-crop-width+2 more
JS Globals
scrgen_settings
FAQ

Frequently Asked Questions about Screenshot Generator