{"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-10-20T10:53:30.670215831Z","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":{"score":0.00889,"percentile":0.60077,"asOf":"2026-11-24"},"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"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7642"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-20T10:53:30.670215831Z"}}