{ "id": "CVE-2020-7642", "sourceIdentifier": "report@snyk.io", "published": "2020-04-22T16:15:13.077", "lastModified": "2020-05-01T12:58:20.700", "vulnStatus": "Analyzed", "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." }, { "lang": "es", "value": "lazysizes versiones hasta la versi\u00f3n 5.2.0, permite una ejecuci\u00f3n de JavaScript malicioso. Los siguientes atributos no son saneados por el plugin video-embed: data-vimeo, data-vimeoparams, data-youtube y data-ytparams que pueden ser utilizados para inyectar JavaScript malicioso." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 5.4, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 2.3, "impactScore": 2.7 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "SINGLE", "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "availabilityImpact": "NONE", "baseScore": 3.5 }, "baseSeverity": "LOW", "exploitabilityScore": 6.8, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-79" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:lazysizes_project:lazysizes:*:*:*:*:*:*:*:*", "versionEndIncluding": "5.2.0", "matchCriteriaId": "41979441-60CB-49C7-BF87-D87FE02734EB" } ] } ] } ], "references": [ { "url": "https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48", "source": "report@snyk.io", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144", "source": "report@snyk.io", "tags": [ "Exploit", "Third Party Advisory" ] } ] }