lazysizes Security & Risk Analysis

wordpress.org/plugins/lazysizes

High performance and SEO friendly lazy loader for images, iframes and more. Many features, like low-res Blurhash placeholders and image fade-in

700 active installs v1.3.3 PHP 5.6+ WP 3.9+ Updated Aug 13, 2020
blurhashimagelazy-loadlazysizesperformance
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is lazysizes Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 5yr ago
Risk Assessment

The lazysizes v1.3.3 plugin exhibits a strong security posture based on the provided static analysis and vulnerability history. The code adheres to many best practices, including the absence of dangerous functions, 100% use of prepared statements for SQL queries, and proper output escaping for all identified outputs. The limited attack surface, with only one AJAX handler and no REST API routes or shortcodes, further contributes to its security. The presence of nonce checks on the AJAX handler is a positive sign. The complete lack of known CVEs, including unpatched vulnerabilities, is a significant indicator of past and ongoing security diligence.

Vulnerabilities
None known

lazysizes Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

lazysizes Release Timeline

v1.3.3Current
v1.3.2
v1.3.1
v1.3.0
v1.2.1
v1.2.0
v1.1.0
v1.0.0
v0.3.0
v0.2.0
v0.1.3
Code Analysis
Analyzed Mar 16, 2026

lazysizes Code Analysis

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

SQL Query Safety

100% prepared2 total queries

Output Escaping

100% escaped7 total outputs
Attack Surface

lazysizes Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_lazysizes_blurhashinc\Lazysizes\PluginCore.php:136
WordPress Hooks 19
actionplugins_loadedinc\Lazysizes\PluginCore.php:80
actionadmin_enqueue_scriptsinc\Lazysizes\PluginCore.php:84
actionwp_headinc\Lazysizes\PluginCore.php:91
actionwp_headinc\Lazysizes\PluginCore.php:97
actionwp_enqueue_scriptsinc\Lazysizes\PluginCore.php:101
filterthe_contentinc\Lazysizes\PluginCore.php:104
filteracf_the_contentinc\Lazysizes\PluginCore.php:108
filterwidget_textinc\Lazysizes\PluginCore.php:113
filterpost_thumbnail_htmlinc\Lazysizes\PluginCore.php:117
filterget_avatarinc\Lazysizes\PluginCore.php:122
filterwp_get_attachment_image_attributesinc\Lazysizes\PluginCore.php:127
filterwp_generate_attachment_metadatainc\Lazysizes\PluginCore.php:133
filterwp_prepare_attachment_for_jsinc\Lazysizes\PluginCore.php:134
filterbody_classinc\Lazysizes\PluginCore.php:139
filterwp_lazy_loading_enabledinc\Lazysizes\PluginCore.php:144
actionadmin_menuinc\Lazysizes\Settings.php:44
actionadmin_initinc\Lazysizes\Settings.php:45
actionadmin_enqueue_scriptsinc\Lazysizes\Settings.php:46
actionupgrader_process_completeinc\Lazysizes\Settings.php:47
Maintenance & Trust

lazysizes Maintenance & Trust

Maintenance Signals

WordPress version tested5.5.18
Last updatedAug 13, 2020
PHP min version5.6
Downloads18K

Community Trust

Rating100/100
Number of ratings6
Active installs700
Developer Profile

lazysizes Developer Profile

Patrick Sletvold

2 plugins · 3K total installs

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

How We Detect lazysizes

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/lazysizes/css//wp-content/plugins/lazysizes/js/
Script Paths
/wp-content/plugins/lazysizes/js/lazysizes.min.js
Version Parameters
lazysizes/css/lazyload.css?ver=lazysizes/js/lazysizes.min.js?ver=

HTML / DOM Fingerprints

CSS Classes
lazysizes-blurhashlazysizes-loading
HTML Comments
<!-- LazySizes<!-- Lazysizes -->
Data Attributes
data-srcdata-srcsetdata-sizesdata-parent-fitdata-expanddata-ratio+8 more
JS Globals
lazysizes
FAQ

Frequently Asked Questions about lazysizes