{"cve":"CVE-2020-7642","nvd":{"published":"2020-04-22T16:15:13.077","modified":"2026-06-17T03:25:10.107","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48","https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144","https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48","https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144"],"products":["lazysizes_project:lazysizes"],"source":"nvd","synced_at":"2026-10-19T21:04:18.695612450+00:00"},"epss":{"cve":"CVE-2020-7642","score":0.00889,"percentile":0.59347,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hg2p-2cvq-4ppv","url":"https://osv.dev/vulnerability/GHSA-hg2p-2cvq-4ppv","summary":"Cross-site scripting in lazysizes","modified":"2026-07-08T06:49:35.784231806Z","packages":[{"ecosystem":"npm","name":"lazysizes","purl":"pkg:npm/lazysizes","ranges":["<5.2.1"],"fixed":["5.2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}