Skip to content
OpenAdvisories
Medium · 6.5 GHSA-c53x-wwx2-pg96

Cross-Site Scripting in @berslucas/liljs

Published Sep 3, 2020 · Updated Sep 28, 2021 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @berslucas/liljs < 1.0.2 1.0.2 GHSA-c53x-wwx2-pg96

References