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-2023-0044 Vulnerability in maven package io.quarkus:quarkus-vertx-http
CVE-2023-38691 Vulnerability in npm package matrix-appservice-bridge
CVE-2023-35150 Vulnerability in maven package org.xwiki.platform:xwiki-platform-invitation-ui
CVE-2023-47327 Vulnerability in maven package org.silverpeas.core:silverpeas-core-web
CVE-2020-2290 Vulnerability in maven package org.biouno:uno-choice