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 Joplin - CVE-2020-15930
- Cross-site Scripting in dompurify (GHSA-63q7-h895-m982) - CVE-2020-26870
- Cross-site Scripting in vis-timeline - CVE-2020-28487
- Cross-site Scripting (XSS) in Eclipse Theia - CVE-2020-27224
- Tags:
- npm
- lazysizes
Anything's wrong? Let us know Last updated on September 05, 2023