{"id":"GHSA-c53x-wwx2-pg96","aliases":["GHSA-c53x-wwx2-pg96"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in @berslucas/liljs","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T17:03:58.000Z","modified":"2021-09-28T17:27:43.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.2"}],"ecosystem":"npm","package":"@berslucas/liljs","purl":"pkg:npm/%40berslucas/liljs","source":"ghsa"}],"references":[{"url":"https://github.com/bersLucas/liljs/pull/7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/bersLucas/liljs/commit/779c0dcd8aba434a1c94db7d1d2d990a629f9a6c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/bersLucas/liljs","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/bersLucas/liljs/releases/tag/1.0.2","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-BERSLUCASLILJS-450217","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1016","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c53x-wwx2-pg96","url":"https://github.com/advisories/GHSA-c53x-wwx2-pg96","licence":"CC-BY-4.0","modified":"2021-09-28T17:27:43.000Z"}],"updatedAt":"2026-11-25T22:56:45.030Z"}