{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2020-7642","published":"2020-04-22T16:15:13.077000Z","last_modified":"2026-06-17T03:25:10.107000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:lazysizes_project:lazysizes:*:*:*:*:*:*:*:*","part":"a","vendor":"lazysizes_project","product":"lazysizes","version_end_including":"5.2.0"}],"cpes_truncated":false,"vendors":["lazysizes_project"],"products":["lazysizes_project/lazysizes"],"epss":{"score":0.00889,"percentile":0.60403,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hg2p-2cvq-4ppv","ecosystem":"npm","name":"lazysizes","purl":"pkg:npm/lazysizes","ranges":[{"introduced":"0","fixed":"5.2.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2020-7642/","html_en":"/en/cve/CVE-2020-7642/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-7642","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-7642"},"untrusted":{"vendor_name":"Lazysizes Project","product_name":"Lazysizes","desc_en":"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":[],"references":[{"url":"https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48","tags":["Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144","tags":["Exploit","Third Party Advisory"]}]}}