CVE-2019-12313 – shave
Package
Manager: npm
Name: shave
Vulnerable Version: >=0 <2.5.3
Severity
Level: Medium
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00307 pctl0.53368
Details
Cross-Site Scripting in shave 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.
Metadata
Created: 2019-05-29T18:38:08Z
Modified: 2021-08-04T16:06:35Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/05/GHSA-gh4g-3gm9-5wrq/GHSA-gh4g-3gm9-5wrq.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-gh4g-3gm9-5wrq
Finding: F008
Auto approve: 1