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 5.4/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | lazysizes | All versions including 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
- Apr 22, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified