GHSA-C53X-WWX2-PG96
Vulnerability from github – Published: 2020-09-03 17:03 – Updated: 2021-09-28 17:27
VLAI?
Summary
Cross-Site Scripting in @berslucas/liljs
Details
Versions of @berslucas/liljs prior to 1.0.2 are vulnerable to Cross-Site Scripting (XSS). The package uses the unsafe innerHTML function without sanitizing input, which may allow attackers to execute arbitrary JavaScript on the victim's browser.
Recommendation
Upgrade to version 1.0.2 or later.
Severity ?
6.5 (Medium)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "@berslucas/liljs"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.2"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T18:44:14Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "Versions of `@berslucas/liljs` prior to 1.0.2 are vulnerable to Cross-Site Scripting (XSS). The package uses the unsafe `innerHTML` function without sanitizing input, which may allow attackers to execute arbitrary JavaScript on the victim\u0027s browser.\n\n\n## Recommendation\n\nUpgrade to version 1.0.2 or later.",
"id": "GHSA-c53x-wwx2-pg96",
"modified": "2021-09-28T17:27:43Z",
"published": "2020-09-03T17:03:58Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/bersLucas/liljs/pull/7"
},
{
"type": "WEB",
"url": "https://github.com/bersLucas/liljs/commit/779c0dcd8aba434a1c94db7d1d2d990a629f9a6c"
},
{
"type": "PACKAGE",
"url": "https://github.com/bersLucas/liljs"
},
{
"type": "WEB",
"url": "https://github.com/bersLucas/liljs/releases/tag/1.0.2"
},
{
"type": "WEB",
"url": "https://snyk.io/vuln/SNYK-JS-BERSLUCASLILJS-450217"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/1016"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
],
"summary": "Cross-Site Scripting in @berslucas/liljs"
}
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…