{"id":"CVE-2020-7642","details":"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.","aliases":["GHSA-hg2p-2cvq-4ppv","SNYK-JS-LAZYSIZES-567144"],"modified":"2026-07-09T12:32:57.898796Z","published":"2020-04-22T16:15:13.077Z","references":[{"type":"FIX","url":"https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/afarkas/lazysizes","events":[{"introduced":"0"},{"last_affected":"a2f37ec2371bff523ea8b94800682e4ec3596b9b"},{"fixed":"3720ab8262552d4e063a38d8492f9490a231fd48"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:lazysizes_project:lazysizes:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"5.2.0"}]}}],"versions":["5.2.0","5.2.0-beta1","5.1.2","5.1.1","5.1.0","5.0.0","5.0.0-rc2","5.0.0-rc1","5.0.0-beta2","5.0.0-beta1","4.1.8","4.1.7","4.1.6","4.1.4","4.1.3","4.1.2","4.1.1","4.1.0","4.0.4","4.0.2","4.0.1","4.0.1-beta1","4.0.0-rc4","4.0.0-rc3","4.0.0-rc2","4.0.0-RC1","3.0.0","3.0.0-rc4","3.0.0-rc3","3.0.0-rc2","3.0.0-rc1","2.0.7","2.0.6-rc2","2.0.6-rc1","2.0.5","2.0.4","2.0.3","2.0.2","2.0.1","2.0.0","2.0.0-rc1","1.5.0","1.5.0-rc4","1.5.0-rc3","1.5.0-RC2","1.4.0","1.3.2","1.3.1","1.3.0","1.2.3-rc2","1.2.3-rc1","1.2.2","1.2.1","1.2.0","1.2.0-rc2","1.2.0-rc1","1.1.5","1.1.5-rc1","1.1.4","1.1.4-rc1","1.1.3","1.1.3-RC1","1.1.2","1.1.1","1.1.0","1.1.0-rc3","1.1.0-rc2","1.1.0-rc1","1.0.1","1.0.1-RC1","1.0.0","1.0.0-RC3","1.0.0-RC2","1.0.0-RC1","0.9.0","0.9.0-RC2","0.8.1","0.8.0","0.8.0-RC1","0.7.2","0.7.1","0.7.0-RC1","0.6.1","0.6.0","0.5.3","0.5.2","0.5.1","0.5.0","0.4.0","0.4.0-RC1","0.3.1","0.3.0","0.2.1","0.2.0","0.1.4","0.1.3","0.1.2","0.1.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7642.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}