Vulnerability Details : CVE-2020-7642
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2020-7642
- cpe:2.3:a:lazysizes_project:lazysizes:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-7642
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 19 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-7642
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.5
|
LOW | AV:N/AC:M/Au:S/C:N/I:P/A:N |
6.8
|
2.9
|
NIST | |
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
2.3
|
2.7
|
NIST |
CWE ids for CVE-2020-7642
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-7642
-
https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144
Cross-site Scripting (XSS) in lazysizes | SnykExploit;Third Party Advisory
-
https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48
Video embed: test yt/vimeo id (fixes #764) · aFarkas/lazysizes@3720ab8 · GitHubPatch;Third Party Advisory
Jump to