GHSA-c53x-wwx2-pg96
MEDIUM 6.5CVSS 3.1Cross-Site Scripting in @berslucas/liljs
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @berslucas/liljs | < 1.0.2 | 1.0.2 |
References
- https://github.com/bersLucas/liljs/pull/7 · WEB
- https://github.com/bersLucas/liljs/commit/779c0dcd8aba434a1c94db7d1d2d990a629f9a6c · WEB
- https://github.com/bersLucas/liljs · PACKAGE
- https://github.com/bersLucas/liljs/releases/tag/1.0.2 · WEB
- https://snyk.io/vuln/SNYK-JS-BERSLUCASLILJS-450217 · WEB
- https://www.npmjs.com/advisories/1016 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 Sep 2020)