All reports
Medium

Cross-Site Scripting in @berslucas/liljs

Affected versions

Affected versions
< 1.0.2
Fixed version
1.0.2

Description

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.

Links