GHSA-gh4g-3gm9-5wrqMediumCVSS 6.1

Cross-Site Scripting in shave

Published
May 29, 2019
Last Modified
January 9, 2023

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • npm/shave:< 2.5.3

🔗 References (5)