What’s Vulnerable › Vulnerabilities
CVE-2020-7642
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-04-22 · updated 2026-06-17
- Weakness: CWE-79
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 products
- lazysizes: through 5.2.0
References
- https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48
- https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144
- https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48
- https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144
Get alerted when CVE-2020-7642 or the next vulnerability affects your stack