WP SVG Images Security & Risk Analysis

wordpress.org/plugins/wp-svg-images

Add SVG support to your WP website. Securely upload SVG files, automatic sanitization, Media Library preview.

30K active installs v4.4 PHP 5.6.40+ WP 3.0.1+ Updated Dec 10, 2025
sanitizationsvgsvg-supportsvg-upload
99
A · Safe
CVEs total2
Unpatched0
Last CVEJun 20, 2024
Safety Verdict

Is WP SVG Images Safe to Use in 2026?

Generally Safe

Score 99/100

WP SVG Images has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Jun 20, 2024Updated 3mo ago
Risk Assessment

The wp-svg-images plugin version 4.4 presents a mixed security posture. On one hand, the static analysis indicates a relatively small attack surface with only one AJAX handler, and importantly, this handler appears to be protected by an authentication check. There are no identified dangerous functions, external HTTP requests, or unsanitized path flows from taint analysis, which are all positive signs. The presence of two nonce checks and one capability check further contributes to a good foundation for security.

However, the vulnerability history raises a significant concern. The plugin has a past of two known medium-severity CVEs, specifically related to Cross-site Scripting (XSS). While there are currently no unpatched vulnerabilities, the pattern of past XSS issues suggests that improper handling of user-provided input might be a recurring weakness. The static analysis also reveals that only 50% of SQL queries are using prepared statements and only 52% of outputs are properly escaped, indicating potential areas where vulnerabilities could arise or be reintroduced. The existence of file operations also warrants careful scrutiny.

In conclusion, while the current version shows improvements in attack surface management and some security practices like nonce and capability checks, the historical prevalence of XSS vulnerabilities and the notable percentage of unescaped outputs and non-prepared SQL queries suggest that vigilance is still required. The plugin's history indicates a potential for input validation and output sanitization flaws, which are common entry points for XSS attacks. Users should ensure they are always on the latest version and remain aware of any future security advisories.

Key Concerns

  • Medium severity XSS vulnerabilities in history
  • 50% SQL queries not using prepared statements
  • 48% of outputs not properly escaped
Vulnerabilities
2

WP SVG Images Security Vulnerabilities

CVEs by Year

1 CVE in 2021
2021
1 CVE in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
2

2 total CVEs

CVE-2024-5945medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WP SVG Images <= 4.3 - Authenticated (Author+) Stored Cross-Site Scripting via SVG

Jun 20, 2024 Patched in 4.4 (226d)
CVE-2021-24386medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WP SVG Images <= 3.3 - Authenticated (author+) Stored Cross-Site Scripting via SVG

Jun 14, 2021 Patched in 3.4 (953d)
Code Analysis
Analyzed Mar 16, 2026

WP SVG Images Code Analysis

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

SQL Query Safety

50% prepared2 total queries

Output Escaping

52% escaped33 total outputs
Attack Surface

WP SVG Images Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_wpsvg_notice_dismissedwp-svg-images.php:71
WordPress Hooks 16
filterwp_handle_upload_prefilterwp-svg-images.php:56
actionplugins_loadedwp-svg-images.php:58
actionadmin_menuwp-svg-images.php:59
actioninitwp-svg-images.php:60
actionadmin_initwp-svg-images.php:62
actionadmin_footerwp-svg-images.php:63
filterupload_mimeswp-svg-images.php:64
filterwp_check_filetype_and_extwp-svg-images.php:65
filterwp_generate_attachment_metadatawp-svg-images.php:66
filterfl_module_upload_regexwp-svg-images.php:67
filterrender_blockwp-svg-images.php:68
actionadmin_noticeswp-svg-images.php:70
actionadmin_initwp-svg-images.php:73
filterwp_all_import_image_mime_typewp-svg-images.php:74
filterfinal_outputwp-svg-images.php:362
filterwp_prepare_attachment_for_jswp-svg-images.php:363
Maintenance & Trust

WP SVG Images Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 10, 2025
PHP min version5.6.40
Downloads305K

Community Trust

Rating100/100
Number of ratings12
Active installs30K
Developer Profile

WP SVG Images Developer Profile

ShortPixel

8 plugins · 1.2M total installs

77
trust score
Avg Security Score
97/100
Avg Patch Time
239 days
View full developer profile
Detection Fingerprints

How We Detect WP SVG Images

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-svg-images/assets/css/spio-upsell.css/wp-content/plugins/wp-svg-images/assets/js/spio-upsell.js
Script Paths
/wp-content/plugins/wp-svg-images/assets/js/spio-upsell.js

HTML / DOM Fingerprints

CSS Classes
wpsvg-notice
JS Globals
wpsvg_notice_dismissedajaxurl
FAQ

Frequently Asked Questions about WP SVG Images