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.
Recommendation
Update the lazysizes
package to the latest compatible version. Followings are version details:
- Affected version(s): <= 5.2.0
- Patched version(s): 5.2.1
References
Related Issues
- Cross-site Scripting in jquery-ui - CVE-2010-5312
- nuxt Code Injection vulnerability - CVE-2023-3224
- QooxDoo XSS in Callback Parameter - CVE-2011-1714
- Denial of Service in ipfs-bitswap - Vulnerability
- Tags:
- npm
- lazysizes
Anything's wrong? Let us know Last updated on September 05, 2023