OpenGraphMagic Security & Risk Analysis

wordpress.org/plugins/opengraphmagic

OpenGraphMagic is a WordPress plugin that automatically generates images for Open Graph tags using external services like Pikwy and ScreenshotOne.

10 active installs v1.0.6 PHP 7.4+ WP 5.4+ Updated Jan 12, 2025
ogpopengraphseosocial
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is OpenGraphMagic Safe to Use in 2026?

Generally Safe

Score 92/100

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

No known CVEs Updated 1yr ago
Risk Assessment

The plugin 'opengraphmagic' v1.0.6 presents a generally good security posture based on the provided static analysis and vulnerability history. The absence of any identified CVEs and a clean vulnerability history are significant strengths, suggesting a history of responsible development and patching. Furthermore, the static analysis reveals a remarkably small attack surface with no exposed AJAX handlers, REST API routes, shortcodes, or cron events, which greatly limits potential entry points for attackers.

However, there are a few areas that warrant attention. The single SQL query identified is not using prepared statements, which represents a potential risk for SQL injection vulnerabilities, especially if any user-controlled input is ever incorporated into this query. While the output escaping is very high (92%), the remaining 8% of outputs could still be a vector for cross-site scripting (XSS) if unescaped outputs are handled insecurely. The presence of external HTTP requests, while not inherently risky, could become a concern if the plugin interacts with untrusted external resources without proper validation or sanitization.

In conclusion, 'opengraphmagic' v1.0.6 demonstrates strong security foundations with its limited attack surface and clean vulnerability record. The primary weaknesses lie in the single non-prepared SQL query and the minor percentage of unescaped output. Addressing these specific code signals would further enhance its security profile.

Key Concerns

  • SQL queries not using prepared statements
  • Minor percentage of unescaped output
Vulnerabilities
None known

OpenGraphMagic Security Vulnerabilities

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

OpenGraphMagic Code Analysis

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

SQL Query Safety

0% prepared1 total queries

Output Escaping

92% escaped25 total outputs
Attack Surface

OpenGraphMagic Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 12
actionadmin_menuincludes\admin-form.php:9
actionadmin_initincludes\admin-form.php:10
actionadmin_enqueue_scriptsincludes\admin-form.php:11
actionadmin_post_opengraphmagic_clear_cacheincludes\admin-form.php:12
actionadmin_noticesincludes\admin-form.php:273
actiontemplate_redirectincludes\opengraph-image.php:22
actionwp_headincludes\opengraph-image.php:23
filterwpseo_opengraph_imageincludes\opengraph-image.php:24
actionplugins_loadedopengraph-magic.php:110
actioninitopengraph-magic.php:116
actionadmin_initopengraph-magic.php:119
actionadmin_menuopengraph-magic.php:125
Maintenance & Trust

OpenGraphMagic Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedJan 12, 2025
PHP min version7.4
Downloads705

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

OpenGraphMagic Developer Profile

50saas

1 plugin · 10 total installs

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

How We Detect OpenGraphMagic

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/opengraphmagic/includes/js/opengraphmagic-admin.js

HTML / DOM Fingerprints

CSS Classes
wrapdashicons-images-alt2
Data Attributes
id="clear-cache"
FAQ

Frequently Asked Questions about OpenGraphMagic