Description
Versions of lazysizes prior to 5.2.1-rc1 are vulnerable to Cross-Site Scripting. The video-embed plugin fails to sanitize the following attributes: data-vimeo, data-vimeoparams, data-youtube and data-ytparams.
Recommendation
Update the lazysizes package to the latest compatible version. Followings are version details:
- Affected version(s): <= 5.2.1-rc0
- Patched version(s): 5.2.1-rc1
References
Related Issues
- Regular Expression Denial of Service (ReDoS) in lodash - CVE-2020-28500
- Payload's SQLite adapter Session Fixation vulnerability - CVE-2025-4644
- Elliptic's verify function omits uniqueness validation - CVE-2024-48949
- secp256k1-node allows private key extraction over ECDH - CVE-2024-48930
- Tags:
- npm
- lazysizes
Anything's wrong? Let us know Last updated on January 09, 2023