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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:lazysizes_project:lazysizes:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "5.2.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "3720ab8262552d4e063a38d8492f9490a231fd48"
}
],
"source": "REFERENCES_COMMIT"
}
]
}