Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWhnMnAtMmN2cS00cHB2
Cross-site scripting in lazysizes
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWhnMnAtMmN2cS00cHB2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 8 months ago
CVSS Score: 5.4
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Identifiers: GHSA-hg2p-2cvq-4ppv, CVE-2020-7642
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-7642
- https://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48
- https://snyk.io/vuln/SNYK-JS-LAZYSIZES-567144
- https://github.com/advisories/GHSA-hg2p-2cvq-4ppv
Blast Radius: 20.1
Affected Packages
npm:lazysizes
Dependent packages: 225Dependent repositories: 5,283
Downloads: 916,435 last month
Affected Version Ranges: <= 5.2.0
Fixed in: 5.2.1
All affected versions: 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.6.0, 0.6.1, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.9.0, 1.0.0, 1.0.1, 1.1.0, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.5.0, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 3.0.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 5.0.0, 5.1.0, 5.1.1, 5.1.2, 5.2.0
All unaffected versions: 5.2.1, 5.2.2, 5.3.0, 5.3.1, 5.3.2