Advisory

GHSA-c53x-wwx2-pg96

Also known as: None

Summary

Cross-Site Scripting in @berslucas/liljs

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.

Recommendation

Upgrade to version 1.0.2 or later.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-09-03 17:03 UTC
Modified
2021-09-28 17:27 UTC

Affected packages and fixes

@berslucas/liljs

npm · All systems

Affected

  • introduced 0, fixed 1.0.2 (semver)

Fixed versions

1.0.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences