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.
Remediation
References
https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48
https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144
Related Vulnerabilities
CVE-2020-35774 Vulnerability in maven package com.twitter:twitter-server
CVE-2023-34478 Vulnerability in maven package org.apache.shiro:shiro-web
CVE-2023-25576 Vulnerability in npm package @fastify/multipart
CVE-2020-7760 Vulnerability in maven package org.webjars.bower:codemirror
CVE-2023-37949 Vulnerability in maven package io.jenkins.plugins:macstadium-orka