
MD Table of Contents Generator Security & Risk Analysis
wordpress.org/plugins/md-toc-generatorPlugin to automatically generate a table of contents based on Headings tags.
Is MD Table of Contents Generator Safe to Use in 2026?
Generally Safe
Score 100/100MD Table of Contents Generator has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "md-toc-generator" plugin version 1 presents a mixed security posture. On the positive side, the plugin has no known CVEs, a clean vulnerability history, and a seemingly small attack surface with zero identified AJAX handlers, REST API routes, shortcodes, or cron events. Furthermore, all SQL queries utilize prepared statements, and there are no external HTTP requests or file operations, which are good security practices.
However, significant concerns arise from the static code analysis. The presence of the `unserialize` function, especially without clear indications of sanitization or context, poses a critical risk for deserialization vulnerabilities. Compounding this, 100% of output is not properly escaped, opening the door to Cross-Site Scripting (XSS) attacks. The taint analysis also revealed a flow with unsanitized paths, further increasing the risk of arbitrary file access or manipulation. The complete lack of nonce checks and capability checks across all entry points (even though the attack surface is reported as zero) is concerning if any latent entry points were missed or if future versions introduce them without proper security.
While the absence of historical vulnerabilities is a good sign, it does not negate the immediate risks identified in the code. The plugin demonstrates strengths in avoiding common web vulnerabilities like raw SQL and external requests, but its handling of serialization, output escaping, and potential unsanitized data flows are major weaknesses that require immediate attention.
Key Concerns
- Unsanitized output detected
- Dangerous function 'unserialize' used
- Taint flow with unsanitized path
- No nonce checks on entry points
- No capability checks on entry points
MD Table of Contents Generator Security Vulnerabilities
MD Table of Contents Generator Code Analysis
Dangerous Functions Found
Output Escaping
Data Flow Analysis
MD Table of Contents Generator Attack Surface
WordPress Hooks 4
Maintenance & Trust
MD Table of Contents Generator Maintenance & Trust
Maintenance Signals
Community Trust
MD Table of Contents Generator Alternatives
Table of Contents Plus
table-of-contents-plus
A powerful yet user friendly plugin that automatically creates a table of contents. Can also output a sitemap listing all pages and categories.
Rich Table of Contents
rich-table-of-content
RTOC is a table of contents generation plugin from Japan that allows anyone to easily create a table of contents. Equipped with the functions of the c …
Heroic Table of Contents
heroic-table-of-contents
Heroic Table of Contents is the easiest way to add a table of contents to your site.
TOP Table Of Contents
top-table-of-contents
Easily creates SEO-friendly table of contents for your blog posts and pages. Offers both Auto and Manual Insert with highly customization options.
Extended Table of Contents (with nextpage support)
extended-table-of-contents-with-nextpage-support
This plugin automatically generates and inserts a table of contents (ToC) to your pages and posts, based on tags h1-h6. It can deal with nextpage-tag.
MD Table of Contents Generator Developer Profile
2 plugins · 30 total installs
How We Detect MD Table of Contents Generator
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/md-toc-generator/md-toc-generator.cssHTML / DOM Fingerprints
toc_containertoc_contenttocLeveltocLink<!-- end toc_content --><!-- end toc_container -->id="toc_container"id="toc_content"id="tocList"class="tocLink"name="<div id="toc_container"><h1>Table of Contents</h1><div id="toc_content"><!-- end toc_content --><!-- end toc_container -->