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-36665 Vulnerability in maven package org.webjars.npm:github-com-protobufjs-protobuf-js
CVE-2023-34612 Vulnerability in maven package com.helger.commons:ph-json
CVE-2020-26237 Vulnerability in maven package org.webjars.bowergithub.highlightjs:highlight.js
CVE-2021-27515 Vulnerability in maven package org.webjars.npm:url-parse
CVE-2023-50730 Vulnerability in maven package edu.gemini:gsp-graphql-core_3