Remove Yoast SEO Comments Security & Risk Analysis

wordpress.org/plugins/remove-yoast-seo-comments

Removes the Yoast SEO advertisement HTML comments from your front-end source code.

10K active installs v3.1 PHP + WP 1.2.0+ Updated Sep 25, 2018
remove-commentsremove-htmlseoyoastyoast-seo
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Remove Yoast SEO Comments Safe to Use in 2026?

Generally Safe

Score 85/100

Remove Yoast SEO Comments has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7yr ago
Risk Assessment

The "remove-yoast-seo-comments" plugin v3.1 exhibits a generally strong security posture with a very small attack surface. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits potential entry points for attackers. Furthermore, all SQL queries are properly parameterized, and there are no external HTTP requests or file operations, which are common vectors for vulnerabilities. The plugin's vulnerability history is also clean, with no recorded CVEs, indicating a history of secure development or prompt patching.

However, there are notable areas of concern within the code analysis. The presence of a dangerous function (preg_replace(/e)) and a complete lack of output escaping are significant weaknesses. The `preg_replace` with the `/e` modifier can be a source of remote code execution if not handled with extreme care, especially if user-supplied data is involved. The 0% output escaping means that any data processed by the plugin and displayed back to users or in the admin area could be vulnerable to Cross-Site Scripting (XSS) attacks. While taint analysis shows no identified flows, this is likely due to the limited scope of analysis (0 flows analyzed), and the identified code signals suggest potential risks remain.

In conclusion, while the plugin benefits from a minimal attack surface and a clean vulnerability history, the identified code-level issues (specifically the dangerous function and lack of output escaping) introduce tangible risks. These risks, if not mitigated, could lead to security incidents like XSS or even RCE. The plugin's strengths lie in its limited interaction points and SQL security, but its weaknesses in output handling and the presence of a dangerous function warrant attention for a truly robust security profile.

Key Concerns

  • Dangerous function (preg_replace(/e)) detected
  • No output escaping detected
  • No nonce checks on potential entry points
Vulnerabilities
None known

Remove Yoast SEO Comments Security Vulnerabilities

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

Remove Yoast SEO Comments Code Analysis

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

Dangerous Functions Found

preg_replace(/e)preg_replace( '/eremove-yoast-seo-comments.php:123

Output Escaping

0% escaped2 total outputs
Attack Surface

Remove Yoast SEO Comments Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actioninitremove-yoast-seo-comments.php:39
actionwp_headremove-yoast-seo-comments.php:59
actionget_headerremove-yoast-seo-comments.php:65
actionwp_headremove-yoast-seo-comments.php:66
actionget_headerremove-yoast-seo-comments.php:72
actionwp_headremove-yoast-seo-comments.php:73
actionwp_dashboard_setupremove-yoast-seo-comments.php:76
Maintenance & Trust

Remove Yoast SEO Comments Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedSep 25, 2018
PHP min version
Downloads151K

Community Trust

Rating76/100
Number of ratings16
Active installs10K
Developer Profile

Remove Yoast SEO Comments Developer Profile

Mitch

12 plugins · 11K total installs

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

How We Detect Remove Yoast SEO Comments

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

Asset Fingerprints

HTML / DOM Fingerprints

HTML Comments
<!-- This is a Yoast SEO debug comment -->
FAQ

Frequently Asked Questions about Remove Yoast SEO Comments