Advisory

GHSA-gh4g-3gm9-5wrq

Also known as: CVE-2019-12313

Summary

Cross-Site Scripting in shave

Details

Versions of shave prior to 2.5.3 are vulnerable to Cross-Site Scripting. The shave package overwrites HTML elements and in doing so fails to properly encode the output. If encoded HTML input is passed into shave the output will be decoded which may lead to Cross-Site Scripting.

Recommendation

Upgrade to version 2.5.3 or later.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-05-29 18:38 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

shave

npm · All systems

Affected

  • introduced 0, fixed 2.5.3 (semver)

Fixed versions

2.5.3

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