
OG Tags Security & Risk Analysis
wordpress.org/plugins/og-tagsOG Tags includes the tags necessary to integrate your website to Facebook with almost no configuration. Automatic. Simple.
Is OG Tags Safe to Use in 2026?
Generally Safe
Score 99/100OG Tags has a strong security track record. Known vulnerabilities have been patched promptly.
The "og-tags" v2.0.2 plugin demonstrates some good security practices, notably the absence of a large attack surface and the exclusive use of prepared statements for SQL queries. There are no identified critical or high severity vulnerabilities in the current version based on the static analysis. However, there are areas of concern that prevent a completely secure assessment.
The static analysis indicates that while there are no direct entry points like AJAX handlers, REST API routes, or shortcodes without authentication checks, there's a significant portion of output (48%) that is not properly escaped. This could lead to Cross-Site Scripting (XSS) vulnerabilities if user-supplied data is outputted without sufficient sanitization. Furthermore, the taint analysis revealed two flows with unsanitized paths, which, although not classified as critical or high severity in this analysis, still represent potential security weaknesses that could be exploited.
The plugin's vulnerability history shows one past high severity vulnerability, a Cross-Site Request Forgery (CSRF), reported in 2021. While this vulnerability is not currently unpatched, its existence suggests a history of security issues that developers should remain vigilant about. The lack of capability checks and only one nonce check across the codebase also represent potential gaps. Overall, while the plugin has a small attack surface and uses prepared statements, the significant unescaped output and the past high-severity vulnerability warrant caution, and further investigation into the unsanitized paths is recommended.
Key Concerns
- Significant unescaped output (48%)
- Taint analysis shows unsanitized paths
- Past high severity vulnerability (CSRF)
- Lack of capability checks
- Limited nonce checks
OG Tags Security Vulnerabilities
CVEs by Year
Severity Breakdown
1 total CVE
OG Tags <= 2.0.1 - Cross-Site Request Forgery
OG Tags Code Analysis
Output Escaping
Data Flow Analysis
OG Tags Attack Surface
WordPress Hooks 4
Maintenance & Trust
OG Tags Maintenance & Trust
Maintenance Signals
Community Trust
OG Tags Alternatives
Schwarttzy's Open Graph
schwarttzys-open-graph
Adds Open Graph meta tags to WordPress posts, pages, and the front page to enhance social media sharing.
Open Graph and Twitter Card Tags
wonderm00ns-simple-facebook-open-graph-tags
Improve social media sharing by inserting Facebook Open Graph, Twitter Card, and SEO Meta Tags on your WordPress website pages, posts, WooCommerce pro …
OG — Better Share on Social Media
og
The simple method to add Open Graph metadata to your entries so that they look great when shared on sites.
Open Graphite
open-graphite
Control how your content is viewed when shared on social media.
Optimize Social Share
heateor-open-graph-meta-tags
Optimizes social share by inserting Facebook Open Graph Meta Tags, General Meta Tags, Schema.org Meta Tags, Twitter Cards and Other Meta Tags in HTML …
OG Tags Developer Profile
7 plugins · 34K total installs
How We Detect OG Tags
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/og-tags/assets/css/og-tags-public.css/wp-content/plugins/og-tags/assets/js/og-tags-public.js/wp-content/plugins/og-tags/assets/js/og-tags-public.jsog-tags/assets/css/og-tags-public.css?ver=og-tags/assets/js/og-tags-public.js?ver=