SVG Support Security & Risk Analysis

wordpress.org/plugins/svg-support

Securely upload SVG files to your media library, with built-in sanitization and advanced features for styling and animation.

1.0M active installs v2.5.14 PHP 7.4+ WP 5.8+ Updated Feb 25, 2025
mime-typesafe-svgsanitizationsvgvector
89
A · Safe
CVEs total6
Unpatched0
Last CVEFeb 24, 2025
Safety Verdict

Is SVG Support Safe to Use in 2026?

Generally Safe

Score 89/100

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

6 known CVEsLast CVE: Feb 24, 2025Updated 1yr ago
Risk Assessment

The svg-support v2.5.14 plugin exhibits a generally positive security posture with some notable exceptions. The static analysis reveals a small attack surface of only 2 AJAX handlers, both of which are protected by authentication checks, indicating good practice in limiting unauthorized access. The overwhelming majority of output is properly escaped, and nonce and capability checks are present on all identified entry points. File operations and external HTTP requests are also managed, suggesting careful handling of potentially sensitive actions. However, the plugin's history is a significant concern. It has a substantial number of known CVEs, all of which are medium severity and related to Cross-Site Scripting (XSS). While there are currently no unpatched vulnerabilities, the sheer volume of past XSS issues, including a recent one in 2025, suggests a recurring pattern of input sanitization weaknesses that the developers have struggled to fully resolve. Furthermore, the presence of SQL queries not utilizing prepared statements is a potential risk, although the low number of queries and the absence of taint flows are mitigating factors. The lack of any identified taint flows is a positive sign, implying that critical vulnerabilities are not being introduced in current development, but the historical pattern of XSS warrants caution.

Key Concerns

  • SQL queries not using prepared statements
  • 6 medium severity CVEs historically
Vulnerabilities
6

SVG Support Security Vulnerabilities

CVEs by Year

3 CVEs in 2022
2022
1 CVE in 2024
2024
2 CVEs in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
6

6 total CVEs

CVE-2022-23638medium · 5.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

SVG Support <= 2.5.8 - Stored Cross-Site Scripting via Vulnerability Dependency

Feb 24, 2025 Patched in 2.5.9 (1d)
CVE-2024-10222medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

SVG Support <= 2.5.10 - Authenticated (Author+) Stored Cross-Site Scripting via SVG File Upload

Feb 21, 2025 Patched in 2.5.11 (1d)
CVE-2023-6708medium · 5.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

SVG Support <= 2.5.7 - Authenticated (Author+) Cross-Site Scripting via SVG

Jul 17, 2024 Patched in 2.5.8 (30d)
CVE-2022-4022medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

SVG Support 2.5 - 2.5.1 - Insecure Plugin Defaults to Cross-Site Scripting

Nov 16, 2022 Patched in 2.5.2 (433d)
CVE-2022-1755medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

SVG Support <= 2.4.2 - Authenticated (Author+) Stored Cross-Site Scripting

Sep 5, 2022 Patched in 2.5 (505d)
CVE-2021-24686medium · 5.5Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

SVG Support <= 2.3.19 Admin+ Cross-Site Scripting

Jan 3, 2022 Patched in 2.3.20 (750d)
Code Analysis
Analyzed Mar 16, 2026

SVG Support Code Analysis

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

SQL Query Safety

0% prepared2 total queries

Output Escaping

98% escaped48 total outputs
Attack Surface

SVG Support Attack Surface

Entry Points2
Unprotected0

AJAX Handlers 2

authwp_ajax_bodhi_svgs_featured_image_inline_togglefunctions\featured-image.php:159
noprivwp_ajax_bodhi_svgs_featured_image_inline_togglefunctions\featured-image.php:160
WordPress Hooks 35
actionadmin_menuadmin\admin-init.php:28
actionadmin_initadmin\admin-init.php:93
actionadmin_initadmin\admin-init.php:108
actionadmin_initadmin\admin-init.php:129
filteradmin_footer_textadmin\admin-init.php:240
filterplugin_row_metaadmin\plugin-action-meta-links.php:45
filterwp_prepare_attachment_for_jsfunctions\attachment.php:50
filterwp_generate_attachment_metadatafunctions\attachment.php:198
filterwp_handle_upload_prefilterfunctions\attachment.php:400
filterwp_calculate_image_srcsetfunctions\attachment.php:457
filterwp_get_attachment_image_srcfunctions\attachment.php:489
filterrest_pre_upload_filefunctions\attachment.php:516
filterwp_handle_uploadfunctions\attachment.php:525
filterrest_insert_attachmentfunctions\attachment.php:563
filterimage_send_to_editorfunctions\attribute-control.php:54
actionadmin_enqueue_scriptsfunctions\enqueue.php:31
actionadmin_enqueue_scriptsfunctions\enqueue.php:48
actionenqueue_block_editor_assetsfunctions\enqueue.php:60
actionwp_enqueue_scriptsfunctions\enqueue.php:73
actionwp_enqueue_scriptsfunctions\enqueue.php:87
actionwp_enqueue_scriptsfunctions\enqueue.php:145
filteradmin_post_thumbnail_htmlfunctions\featured-image.php:39
actionsave_postfunctions\featured-image.php:75
actioninitfunctions\featured-image.php:90
filterpost_thumbnail_htmlfunctions\featured-image.php:117
actioninitfunctions\localization.php:9
filterupload_mimesfunctions\mime-types.php:47
filterwp_check_filetype_and_extfunctions\mime-types.php:69
filterwp_check_filetype_and_extfunctions\mime-types.php:97
filterupload_mimesfunctions\mime-types.php:117
actionadmin_initfunctions\thumbnail-display.php:9
filterfinal_outputfunctions\thumbnail-display.php:22
actionadmin_noticesincludes\svg-tags.php:29
actionpmxi_attachment_uploadedintegrations\wp-all-import.php:69
actionadmin_initsvg-support.php:108
Maintenance & Trust

SVG Support Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedFeb 25, 2025
PHP min version7.4
Downloads12.6M

Community Trust

Rating96/100
Number of ratings354
Active installs1.0M
Developer Profile

SVG Support Developer Profile

Benbodhi

2 plugins · 1.0M total installs

73
trust score
Avg Security Score
91/100
Avg Patch Time
287 days
View full developer profile
Detection Fingerprints

How We Detect SVG Support

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/svg-support/css/svgs-admin.css/wp-content/plugins/svg-support/css/svgs-admin-simple-mode.css/wp-content/plugins/svg-support/css/svgs-admin-edit-post.css/wp-content/plugins/svg-support/css/jquery.dropdown-min.css/wp-content/plugins/svg-support/js/min/jquery.dropdown-min.js/wp-content/plugins/svg-support/js/svgs-inline.js/wp-content/plugins/svg-support/js/svgs-admin.js
Version Parameters
svg-support/css/svgs-admin.css?ver=svg-support/css/svgs-admin-simple-mode.css?ver=svg-support/css/svgs-admin-edit-post.css?ver=svg-support/css/jquery.dropdown-min.css?ver=svg-support/js/min/jquery.dropdown-min.js?ver=svg-support/js/svgs-inline.js?ver=svg-support/js/svgs-admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
svg-support-frontend-settings
HTML Comments
<!-- SVG Support Settings -->
JS Globals
bodhi_svgs_optionssvgs_plugin_version
FAQ

Frequently Asked Questions about SVG Support