CVEvulnerability
CVE-2020-7642
5.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2020-04-22
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 3.5 LOW — AV:N/AC:M/Au:S/C:N/I:P/A:N
- Weaknesses
- 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 configurations
• lazysizes project lazysizes (<= 5.2.0)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48 Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144 Exploit, Third Party Advisory
- https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48 Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144 Exploit, Third Party Advisory