~ / search / GHSA-hg2p-2cvq-4ppv

GHSA-hg2p-2cvq-4ppv

Cross-site scripting in lazysizes

Source: GitHub Advisory Database (reviewed) Moderate CVE-2020-7642

Packages

EcosystemPackageAffectedFixed in
npm lazysizes < 5.2.1 5.2.1

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.