{"url":"http://public2.vulnerablecode.io/api/packages/446163?format=json","purl":"pkg:npm/lazysizes@1.1.0-rc1","type":"npm","namespace":"","name":"lazysizes","version":"1.1.0-rc1","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"5.2.1-rc1","latest_non_vulnerable_version":"5.2.1","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/42555?format=json","vulnerability_id":"VCID-4aq2-parq-fqa7","summary":"Cross-site scripting in lazysizes\nlazysizes 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.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2020-7642","reference_id":"","reference_type":"","scores":[{"value":"0.00341","scoring_system":"epss","scoring_elements":"0.57018","published_at":"2026-05-29T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2020-7642"},{"reference_url":"https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48","reference_id":"","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7642","reference_id":"","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7642"},{"reference_url":"https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144","reference_id":"","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144"},{"reference_url":"https://github.com/advisories/GHSA-hg2p-2cvq-4ppv","reference_id":"GHSA-hg2p-2cvq-4ppv","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-hg2p-2cvq-4ppv"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/76810?format=json","purl":"pkg:npm/lazysizes@5.2.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/lazysizes@5.2.1"}],"aliases":["CVE-2020-7642","GHSA-hg2p-2cvq-4ppv"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-4aq2-parq-fqa7"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/lazysizes@1.1.0-rc1"}