Read the docs
TI-2020-19613 Aliases GHSA-w4vp-3mq7-7v82

Cross-Site Scripting in lazysizes

Priority LOW 38CWE-79Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Cross-site scripting
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Fix Fixed lazysizes (npm): 5.2.1-rc1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—lazysizes (npm)before 5.2.1-rc15.2.1-rc1Patch availableGHSA-w4vp-3mq7-7v82
  • lazysizes (npm) Vendor— Affected before 5.2.1-rc1 Fixed in 5.2.1-rc1 Patch available GHSA-w4vp-3mq7-7v82

Remediation

  • Fix · GHSA-w4vp-3mq7-7v82 lazysizes (npm) Fixed in 5.2.1-rc1 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-w4vp-3mq7-7v82

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences