Skip to main content
← All vulnerabilities
CVE-2020-7642GHSA-HG2P-2CVQ-4PPVSNYK-JS-LAZYSIZES-567144

lazysizes through 5.2.0 allows execution of malicious JavaScript.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.2.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a lazysizes

    All versions including 5.2.0

  • lazysizesnpm

    fixed in 5.2.1

References 2

snyk.io

GitHub · aFarkas/lazysizes