GHSA-gh4g-3gm9-5wrq
Cross-Site Scripting in shave
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.