GHSA-w4vp-3mq7-7v82
JSON

high

Cross-Site Scripting in lazysizes

Severity
high rating by GitHub
Published
Last changed

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. This allows attackers to execute arbitrary JavaScript in a victim's browser if the attacker has control over the vulnerable attributes.

Recommendation

Upgrade to version 5.2.1-rc1 or later.

Affected

Product or packageVersionsReported by
lazysizes (npm)before 5.2.1-rc1GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-w4vp-3mq7-7v82 changed 2020-08-31CC-BY-4.0