lazysizes
Affected
- introduced
0, fixed5.2.1-rc1(semver)
Fixed versions
5.2.1-rc1
Fix
- Fixed version
5.2.1-rc1npm install [email protected]
Advisory
Also known as: None
Cross-Site Scripting in lazysizes
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.
High Basis: The source's own band: HIGH
0, fixed 5.2.1-rc1 (semver)5.2.1-rc1
5.2.1-rc1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0