Media Categories Security & Risk Analysis

wordpress.org/plugins/media-categories-2

Easily assign categories to media with a clean, simple, and searchable category meta box. Then use the gallery shortcode to display category galleries

300 active installs v1.5 PHP + WP 3.3+ Updated Dec 18, 2012
attachment-categoriescategoriescategorymediamedia-categories
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Media Categories Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 13yr ago
Risk Assessment

The "media-categories-2" v1.5 plugin exhibits a generally good security posture based on the provided static analysis. There are no identified dangerous functions, no raw SQL queries, and no external HTTP requests. The absence of any known vulnerabilities in its history is a positive indicator of its development practices. However, a significant concern arises from the low percentage of properly escaped output (22%). This suggests a potential for Cross-Site Scripting (XSS) vulnerabilities, especially if user-supplied data is being reflected directly into the output without adequate sanitization.

The lack of taint analysis results is noted, which could mean either no sensitive data flows were detected or the analysis was not performed in a way that captured them. While the plugin has a limited attack surface with only one shortcode and no unprotected entry points, the primary weakness identified is the insufficient output escaping. This single area of concern, if exploited, could lead to serious security breaches, making it the most critical aspect to address despite the plugin's otherwise clean record.

Key Concerns

  • Insufficient output escaping detected
Vulnerabilities
None known

Media Categories Security Vulnerabilities

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

Media Categories Code Analysis

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

Output Escaping

22% escaped37 total outputs
Attack Surface

Media Categories Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[gallery] media-categories.php:214
WordPress Hooks 8
actioninitmedia-categories.php:25
actioninitmedia-categories.php:26
filterattachment_fields_to_editmedia-categories.php:28
filterattachment_fields_to_editmedia-categories.php:34
actionadmin_enqueue_scriptsmedia-categories.php:37
actionadmin_enqueue_scriptsmedia-categories.php:38
actionwp_enqueue_mediamedia-categories.php:41
actionwp_enqueue_mediamedia-categories.php:42
Maintenance & Trust

Media Categories Maintenance & Trust

Maintenance Signals

WordPress version tested3.5.2
Last updatedDec 18, 2012
PHP min version
Downloads30K

Community Trust

Rating68/100
Number of ratings7
Active installs300
Developer Profile

Media Categories Developer Profile

Eddie Moya

4 plugins · 460 total installs

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

How We Detect Media Categories

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

Asset Fingerprints

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

HTML / DOM Fingerprints

CSS Classes
categorydivtaxonomy-metabox-field-containercategory-filtercategory-tabstabstabs-panellist:categorycategorychecklist+2 more
HTML Comments
While normally run statically, this allows Patch to solve this in 3.5 was accepted @see http://core.trac.wordpress.org/ticket/20765Loading these in this fashion no longer applies in 3.5 because of new built-in support for taxonomy metaboxes on the editor page.This adds native support for categories to the attachment editor, however+12 more
Data Attributes
id="taxonomy-id='name="category-filter"id="class="categorydiv"class='category-filter'+7 more
JS Globals
window.taxonomytaxonomy
Shortcode Output
[gallery]
FAQ

Frequently Asked Questions about Media Categories