Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lazysizes Project | Lazysizes | <= 5.2.0 |
Related Weaknesses (CWE)
References
- https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144ExploitThird Party Advisory
- https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144ExploitThird Party Advisory
FAQ
What is CVE-2020-7642?
CVE-2020-7642 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 whi...
How severe is CVE-2020-7642?
CVE-2020-7642 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-7642?
Check the references section above for vendor advisories and patch information. Affected products include: Lazysizes Project Lazysizes.