Document Library Security & Risk Analysis

wordpress.org/plugins/document-library

Document Library plugin for handling documents as custom post type and its taxonomies .

10 active installs v0.1 PHP + WP 2.8+ Updated Mar 5, 2012
document-librarydocument-taxonomydocumentsfile-libraryfiles
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Document Library Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 14yr ago
Risk Assessment

The "document-library" plugin v0.1 exhibits a mixed security posture. On one hand, the absence of known CVEs and the fact that all SQL queries utilize prepared statements are positive indicators of a relatively secure development history and approach. The presence of a nonce check is also a good practice. However, significant concerns arise from the static analysis. The plugin uses the deprecated and dangerous `create_function()` function, which can be a source of vulnerabilities if not handled with extreme care. Furthermore, the extremely low percentage of properly escaped output (5%) is a major red flag, suggesting a high likelihood of cross-site scripting (XSS) vulnerabilities across many output points. The taint analysis also reveals that all analyzed flows have unsanitized paths, though thankfully, no critical or high severity issues were identified directly from this analysis. The lack of capability checks on entry points, though there are none currently, could become a problem if entry points are added in the future without proper authorization. Overall, while the plugin has no recorded history of severe vulnerabilities, the identified code-level weaknesses, particularly the unescaped output and the use of `create_function()`, present a significant risk that needs immediate attention.

Key Concerns

  • Dangerous function create_function() used
  • Low percentage of properly escaped output
  • Unsanitized paths in taint analysis flows
  • No capability checks on entry points
Vulnerabilities
None known

Document Library Security Vulnerabilities

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

Document Library Code Analysis

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

Dangerous Functions Found

create_functionadd_action('widgets_init', create_function('', 'return register_widget("DocumentLibraryWidget");'));document-library.php:35

Output Escaping

5% escaped39 total outputs
Data Flows
5 unsanitized

Data Flow Analysis

5 flows5 with unsanitized paths
widget (classes\DocumentLibraryWidget.php:20)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Document Library Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 14
actionwp_titleclasses\DocumentLibraryWidget.php:98
filterposts_whereclasses\DocumentLibraryWidget.php:105
actioninitdocument-library.php:20
actioninitdocument-library.php:21
actioninitdocument-library.php:22
actionadmin_menudocument-library.php:24
actionmanage_posts_custom_columndocument-library.php:26
filtermanage_edit-document_columnsdocument-library.php:27
filterquery_varsdocument-library.php:29
actionpost_edit_form_tagdocument-library.php:31
actionadd_meta_boxesdocument-library.php:32
actionsave_postdocument-library.php:33
actionwidgets_initdocument-library.php:35
actiontemplate_redirectdocument-library.php:36
Maintenance & Trust

Document Library Maintenance & Trust

Maintenance Signals

WordPress version tested3.3.2
Last updatedMar 5, 2012
PHP min version
Downloads4K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Document Library Developer Profile

hmayaktigranyan

3 plugins · 170 total installs

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

How We Detect Document Library

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

Asset Fingerprints

HTML / DOM Fingerprints

Data Attributes
data-document-library-field-slugdata-document-library-field-name
Shortcode Output
<select name='document-library-term-selector' class='document-library-term-selector'>
FAQ

Frequently Asked Questions about Document Library