CVE-2020-7642

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-7642
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7642.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-7642
Aliases
Related
  • SNYK-JS-LAZYSIZES-567144
Published
2020-04-22T16:15:13Z
Modified
2025-01-15T01:46:20.889613Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/afarkas/lazysizes

Affected ranges

Type
GIT
Repo
https://github.com/afarkas/lazysizes
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.2.0
0.2.1
0.3.0
0.3.1
0.4.0
0.4.0-RC1
0.5.0
0.5.1
0.5.2
0.5.3
0.6.0
0.6.1
0.7.0-RC1
0.7.1
0.7.2
0.8.0
0.8.0-RC1
0.8.1
0.9.0
0.9.0-RC2

1.*

1.0.0
1.0.0-RC1
1.0.0-RC2
1.0.0-RC3
1.0.1
1.0.1-RC1
1.1.0
1.1.0-rc1
1.1.0-rc2
1.1.0-rc3
1.1.1
1.1.2
1.1.3
1.1.3-RC1
1.1.4
1.1.4-rc1
1.1.5
1.1.5-rc1
1.2.0
1.2.0-rc1
1.2.0-rc2
1.2.1
1.2.2
1.2.3-rc1
1.2.3-rc2
1.3.0
1.3.1
1.3.2
1.4.0
1.5.0
1.5.0-RC2
1.5.0-rc3
1.5.0-rc4

2.*

2.0.0
2.0.0-rc1
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6-rc1
2.0.6-rc2
2.0.7

3.*

3.0.0
3.0.0-rc1
3.0.0-rc2
3.0.0-rc3
3.0.0-rc4

4.*

4.0.0-RC1
4.0.0-rc2
4.0.0-rc3
4.0.0-rc4
4.0.1
4.0.1-beta1
4.0.2
4.0.4
4.1.0
4.1.1
4.1.2
4.1.3
4.1.4
4.1.5
4.1.6
4.1.7
4.1.8

5.*

5.0.0
5.0.0-beta1
5.0.0-beta2
5.0.0-rc1
5.0.0-rc2
5.1.0
5.1.1
5.1.2
5.2.0
5.2.0-beta1