Vulnerability · Published Apr 22, 2020 · Assigned by snyk

CVE-2020-7642

Medium 5.4

In plain English

A medium-severity security flaw in lazysizes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.4Medium
Exploit odds (30 days)0.9%top 40.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmlazysizes5.2.1GHSA-hg2p-2cvq-4ppv

Affected products (as reported)

VendorProductVersions
n/a lazysizes All versions including 5.2.0

References