Documents from Git Security & Risk Analysis

wordpress.org/plugins/documents-from-git

A plugin to inject and render files in a WordPress post or page directly from most popular Git platforms. Currently supported file types: Markdown, J …

200 active installs v2.2.0 PHP 7.0+ WP 5.0.0+ Updated Oct 9, 2021
bitbucketgithubjupytermarkdownnotebook
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Documents from Git Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 4yr ago
Risk Assessment

The 'documents-from-git' plugin v2.2.0 exhibits a mixed security posture. On the positive side, it demonstrates good practices by exclusively using prepared statements for SQL queries and avoiding file operations and external HTTP requests within the analyzed code. The absence of known CVEs and a clean vulnerability history is also a strong indicator of a well-maintained plugin.

However, there are notable areas for concern. The plugin has a significant percentage of improperly escaped output, meaning that data displayed to users might be susceptible to cross-site scripting (XSS) attacks if it originates from untrusted sources. Furthermore, the complete lack of nonce checks and capability checks across all entry points (including the shortcode) presents a substantial risk. This could allow unauthenticated or unauthorized users to trigger actions or access data they shouldn't be able to.

While the attack surface appears small with no unprotected entry points directly observable in the static analysis, the absence of authentication and authorization mechanisms on the existing entry point is a critical oversight. The plugin's strengths lie in its secure database interactions and lack of known historical vulnerabilities. Its weaknesses, however, lie in output sanitization and, more importantly, in its insufficient use of WordPress security best practices for preventing unauthorized actions.

Key Concerns

  • Half of outputs are not properly escaped
  • No nonce checks on entry points
  • No capability checks on entry points
Vulnerabilities
None known

Documents from Git Security Vulnerabilities

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

Documents from Git Release Timeline

v2.2.0Current
v2.1.0
v2.0.1
v2.0.0
v1.1.1
v1.1.0
v1.0.2
v1.0.1
v1.0.0
Code Analysis
Analyzed Mar 16, 2026

Documents from Git Code Analysis

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

Output Escaping

50% escaped10 total outputs
Attack Surface

Documents from Git Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[git-add-css] documents-git.php:33
WordPress Hooks 6
actionwp_enqueue_scriptsdocuments-git.php:51
actionadmin_enqueue_scriptsincludes\RationalOptionPages.php:161
actionadmin_headincludes\RationalOptionPages.php:162
actionadmin_initincludes\RationalOptionPages.php:163
actionadmin_menuincludes\RationalOptionPages.php:164
actionadmin_noticesincludes\RationalOptionPages.php:165
Maintenance & Trust

Documents from Git Maintenance & Trust

Maintenance Signals

WordPress version tested5.8.13
Last updatedOct 9, 2021
PHP min version7.0
Downloads7K

Community Trust

Rating100/100
Number of ratings3
Active installs200
Developer Profile

Documents from Git Developer Profile

nilsnolde

1 plugin · 200 total installs

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

How We Detect Documents from Git

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/documents-from-git/css/markdown-git.css/wp-content/plugins/documents-from-git/css/github-markdown.css/wp-content/plugins/documents-from-git/css/nbconvert.css

HTML / DOM Fingerprints

CSS Classes
git-add-css
Shortcode Output
<div id="git-add-css" class="</div>
FAQ

Frequently Asked Questions about Documents from Git