Upload SVG Security & Risk Analysis

wordpress.org/plugins/upload-svg

Safely enable SVG uploads with sanitization and prevent XML/SVG vulnerabilities on your WordPress website. Preview SVG files in your Media Library.

1K active installs v1.0.3 PHP 7.1+ WP 5.7+ Updated Dec 3, 2025
sanitizesvgsvg-supportsvg-uploadupload
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Upload SVG Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 4mo ago
Risk Assessment

The "upload-svg" v1.0.3 plugin exhibits a generally strong security posture based on the provided static analysis. The absence of identified attack surface entry points such as AJAX handlers, REST API routes, shortcodes, and cron events is a significant positive. Furthermore, the plugin demonstrates good coding practices with a majority of its outputs being properly escaped and a substantial portion of its SQL queries utilizing prepared statements. The presence of nonce and capability checks indicates an awareness of WordPress security fundamentals. Taint analysis yielding no critical or high severity flows is also a very encouraging sign.

However, while the plugin appears to be in good standing regarding known vulnerabilities with a history of zero CVEs, the static analysis does reveal minor areas for potential improvement. Specifically, the presence of file operations, even if not leading to immediate exploitable issues in this analysis, always warrants careful scrutiny in any plugin. The two file operations, coupled with the fact that only one nonce check is present across the codebase, could represent potential areas where vulnerabilities might be introduced if not handled with extreme care or if the plugin's functionality expands in the future.

Overall, "upload-svg" v1.0.3 appears to be a relatively secure plugin with a commendable lack of known vulnerabilities and a solid foundation in secure coding practices. The identified areas for improvement are minor and do not currently point to critical weaknesses, but vigilance in future development and review, particularly around file operations and authentication checks for all potential entry points (even those not explicitly listed as attack surfaces), is advised.

Key Concerns

  • File operations present
  • SQL queries not fully prepared
  • Output escaping not 100%
Vulnerabilities
None known

Upload SVG Security Vulnerabilities

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

Upload SVG Code Analysis

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

SQL Query Safety

50% prepared2 total queries

Output Escaping

76% escaped34 total outputs
Attack Surface

Upload SVG Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 12
actioninitincludes\class-wp-upload-svg.php:17
actionplugins_loadedincludes\class-wp-upload-svg.php:26
filterupload_mimesincludes\class-wp-upload-svg.php:29
filterwp_check_filetype_and_extincludes\class-wp-upload-svg.php:32
actionplugins_loadedincludes\class-wp-upload-svg.php:35
actionplugins_loadedincludes\class-wp-upload-svg.php:38
filterwp_handle_upload_prefilterincludes\class-wp-upload-svg.php:41
filterwp_generate_attachment_metadataincludes\class-wp-upload-svg.php:44
actionadmin_footerincludes\class-wp-upload-svg.php:47
filterwp_calculate_image_srcset_metaincludes\class-wp-upload-svg.php:49
actioncurrent_screenincludes\class-wp-upload-svg.php:177
actionadmin_menuincludes\class-wp-upload-svg.php:180
Maintenance & Trust

Upload SVG Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 3, 2025
PHP min version7.1
Downloads8K

Community Trust

Rating100/100
Number of ratings2
Active installs1K
Developer Profile

Upload SVG Developer Profile

html5maps

6 plugins · 7K total installs

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

How We Detect Upload SVG

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/upload-svg/assets/css/plugin_style.css
Version Parameters
upload-svg/assets/css/plugin_style.css?ver=

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Upload SVG