Security mailing lists by PureSourceCode

CVE-2020-7642

MEDIUM 5.4CVSS 3.1

Cross-site scripting in lazysizes

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.

Published
22 Apr 2020
Last modified
8 Jul 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-hg2p-2cvq-4ppvSNYK-JS-LAZYSIZES-567144
Sources
NVDJSONOSV GHSA-hg2p-2cvq-4ppvJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD lazysizes_project lazysizes
cpe:2.3:a:lazysizes_project:lazysizes:*:*:*:*:*:*:*:*
<= 5.2.0
OSV npm lazysizes < 5.2.1 5.2.1

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 22 Apr 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Dec 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.