CVE-2020-7642
Cross-site scripting in lazysizes
5.4
MEDIUM
CVSS 3.1
EPSS 0.34%
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.
How to fix CVE-2020-7642
To remediate CVE-2020-7642, upgrade the affected package to a fixed version below.
- —upgrade to 5.2.1 or later
Is CVE-2020-7642 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 5.2.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |