XSS in Lazysizes Project
CVE-2020-7642
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.009 (55.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Lazysizes_project Lazysizes
- N/a Lazysizes — versions All versions including 5.2.0
Weakness classification (CWE)
References
- report@snyk.io (Exploit, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2020-7642?
- CVE-2020-7642 is a medium-severity vulnerability in Lazysizes Project, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2020-04-22.
- How severe is CVE-2020-7642?
- Medium severity. CVSS v3 base score is 5.4 out of 10.