原始 OSV JSON{
"id": "GHSA-c53x-wwx2-pg96",
"aliases": [],
"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.\n\n\n## Recommendation\n\nUpgrade to version 1.0.2 or later.",
"summary": "Cross-Site Scripting in @berslucas/liljs",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.2"
}
]
}
],
"package": {
"name": "@berslucas/liljs",
"ecosystem": "npm"
}
}
],
"modified": "2021-09-28T17:27:43Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
}
],
"published": "2020-09-03T17:03:58Z",
"references": [
{
"url": "https://github.com/bersLucas/liljs/pull/7",
"type": "WEB"
},
{
"url": "https://github.com/bersLucas/liljs/commit/779c0dcd8aba434a1c94db7d1d2d990a629f9a6c",
"type": "WEB"
},
{
"url": "https://github.com/bersLucas/liljs",
"type": "PACKAGE"
},
{
"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",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-08-31T18:44:14Z"
}
}