CVE-2020-7642
Last modified
CVE-2020-7642 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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.. EPSS estimates a 0.89% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Lazysizes Project | Lazysizes | <= 5.2.0 |
References
- https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144Exploit, Third Party Advisory
- https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-7642?
How severe is CVE-2020-7642?
How do I fix CVE-2020-7642?
Are you affected by CVE-2020-7642?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
