{"id":"CVE-2020-7642","aliases":["GHSA-hg2p-2cvq-4ppv","SNYK-JS-LAZYSIZES-567144"],"url":"https://o3.security/vulnerability/CVE-2020-7642","summary":"Cross-site scripting in lazysizes","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.","published":"2020-04-22T16:15:13.077Z","modified":"2026-07-09T12:32:57.898796Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"lazysizes","fixedVersion":"5.2.1"}],"fix":{"url":"https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48","label":"aFarkas/lazysizes@3720ab8"},"references":[{"type":"FIX","url":"https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T12:32:57.898796Z"}}