{"id":"CVE-2020-7642","state":"PUBLISHED","title":"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 a","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.","publishedAt":"2020-04-22T15:13:51.000Z","updatedAt":"2024-08-04T09:33:19.989Z","severity":null,"assigner":"snyk","products":["n/a lazysizes"],"affected":[{"vendor":"n/a","product":"lazysizes","versions":[{"version":"All versions including 5.2.0","status":"affected"}]}],"references":["https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144","https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48"],"weaknesses":[],"ingestedAt":"2026-10-29T19:47:41.446Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/7xxx/CVE-2020-7642.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-7642","state":"PUBLISHED","datePublished":"2020-04-22T15:13:51.000Z","dateUpdated":"2024-08-04T09:33:19.989Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2020-01-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"lazysizes","versions":[{"version":"All versions including 5.2.0","status":"affected"}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144","tags":["x_refsource_MISC"]},{"url":"https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2020-04-22T15:13:51.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","ID":"CVE-2020-7642","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"lazysizes","version":{"version_data":[{"version_value":"All versions including 5.2.0"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144"},{"name":"https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48","refsource":"MISC","url":"https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T09:33:19.989Z"}}]}}}