GHSA-W4VP-3MQ7-7V82
Vulnerability from github – Published: 2020-09-03 15:49 – Updated: 2020-08-31 19:01
VLAI?
Summary
Cross-Site Scripting in lazysizes
Details
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": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 5.2.1-rc0"
},
"package": {
"ecosystem": "npm",
"name": "lazysizes"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.2.1-rc1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T19:01:17Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "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\u0027s browser if the attacker has control over the vulnerable attributes.\n\n\n## Recommendation\n\nUpgrade to version 5.2.1-rc1 or later.",
"id": "GHSA-w4vp-3mq7-7v82",
"modified": "2020-08-31T19:01:17Z",
"published": "2020-09-03T15:49:48Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/aFarkas/lazysizes/issues/764"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/1493"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Cross-Site Scripting in lazysizes"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…