Media Library Categories Security & Risk Analysis

wordpress.org/plugins/wp-media-library-categories

Adds the ability to use categories in the media library.

20K active installs v2.0.2 PHP + WP 4.0+ Updated May 18, 2025
categoriescategorylibrarymediamedialibrary
99
A · Safe
CVEs total2
Unpatched0
Last CVEJul 20, 2023
Safety Verdict

Is Media Library Categories Safe to Use in 2026?

Generally Safe

Score 99/100

Media Library Categories has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Jul 20, 2023Updated 10mo ago
Risk Assessment

The wp-media-library-categories v2.0.2 plugin exhibits a generally good security posture with several positive indicators. The absence of critical or high-severity vulnerabilities in its history, along with the lack of detected taint flows or dangerous functions, is encouraging. The code also demonstrates good practices like using prepared statements for all SQL queries and implementing both nonce and capability checks for its single AJAX handler, which is a strong defense against common attack vectors. Furthermore, the absence of file operations and external HTTP requests reduces the potential for certain types of exploits.

However, there are areas for improvement. The most significant concern is the plugin's vulnerability history, which includes two medium-severity CVEs, the most recent being in July 2023. While currently unpatched, this indicates a pattern of past security flaws, specifically Cross-site Scripting (XSS) vulnerabilities, which, if not diligently addressed through updates, could re-emerge. Additionally, the static analysis revealed that only 57% of output is properly escaped. This means a significant portion of the plugin's output is not being sanitized, creating a potential risk for reflected or stored XSS vulnerabilities, especially if user-supplied data is displayed without adequate escaping.

In conclusion, while the plugin has a solid foundation with robust handling of database queries and authentication for its entry points, the history of medium-severity XSS vulnerabilities and the notable percentage of unescaped output present tangible risks. The plugin is not inherently insecure, but proactive monitoring for updates and potential security reviews focusing on output sanitization are recommended.

Key Concerns

  • Medium severity XSS vulnerabilities in history
  • Significant portion of output not properly escaped
Vulnerabilities
2

Media Library Categories Security Vulnerabilities

CVEs by Year

2 CVEs in 2023
2023
Patched Has unpatched

Severity Breakdown

Medium
2

2 total CVEs

CVE-2023-36382medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Media Library Categories <= 2.0.0 - Authenticated (Administrator+) Stored Cross-Site Scripting

Jul 20, 2023 Patched in 2.0.1 (187d)
CVE-2022-47596medium · 5.5Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Media Library Categories <= 1.9.9 - Authenticated (Admin+) Stored Cross-Site Scripting

Jan 20, 2023 Patched in 2.0.0 (368d)
Code Analysis
Analyzed Mar 16, 2026

Media Library Categories Code Analysis

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

Bundled Libraries

Select2

SQL Query Safety

100% prepared2 total queries

Output Escaping

57% escaped28 total outputs
Attack Surface

Media Library Categories Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_save-attachment-compatindex.php:48
WordPress Hooks 15
actionplugins_loadedindex.php:30
actionadmin_noticesindex.php:31
actioninitindex.php:32
actioninitindex.php:33
filtershortcode_atts_galleryindex.php:35
actionadd_attachmentindex.php:40
actionedit_attachmentindex.php:41
actionrestrict_manage_postsindex.php:42
actionadmin_footer-upload.phpindex.php:43
actionload-upload.phpindex.php:44
actionadmin_noticesindex.php:45
filterajax_query_attachments_argsindex.php:47
filterattachment_fields_to_editindex.php:49
actionadmin_enqueue_scriptsindex.php:51
actionadmin_initindex.php:53
Maintenance & Trust

Media Library Categories Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedMay 18, 2025
PHP min version
Downloads558K

Community Trust

Rating84/100
Number of ratings52
Active installs20K
Developer Profile

Media Library Categories Developer Profile

jeffrey-wp

1 plugin · 20K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
278 days
View full developer profile
Detection Fingerprints

How We Detect Media Library Categories

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-media-library-categories/css/style.css/wp-content/plugins/wp-media-library-categories/js/script.js/wp-content/plugins/wp-media-library-categories/js/media-library-categories.js
Script Paths
/wp-content/plugins/wp-media-library-categories/js/script.js/wp-content/plugins/wp-media-library-categories/js/media-library-categories.js
Version Parameters
wp-media-library-categories/css/style.css?ver=wp-media-library-categories/js/script.js?ver=wp-media-library-categories/js/media-library-categories.js?ver=

HTML / DOM Fingerprints

CSS Classes
wp-media-library-categorieswpmlc-admin-notice
Data Attributes
data-wpmlc-category-iddata-wpmlc-taxonomy
JS Globals
wpmlc_categories_ajax_object
FAQ

Frequently Asked Questions about Media Library Categories