All reports
Medium

Cross-site scripting in lazysizes

Affected versions

Affected versions
<= 5.2.0
Fixed version
5.2.1

Exploitation

CVE-2020-7642

Probability of exploitation in the next 30 days: 0.89%

FIRST EPSS · 2026-11-21

Description

lazysizes through 5.2.0 allows execution of malicious JavaScript. The following attributes are not sanitized by the video-embed plugin: data-vimeo, data-vimeoparams, data-youtube and data-ytparams which can be abused to inject malicious JavaScript.

Links