CVE-2019-12313
Cross-Site Scripting in shave
6.1
MEDIUM
CVSS 3.1
EPSS 0.29%
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.
How to fix CVE-2019-12313
To remediate CVE-2019-12313, upgrade the affected package to a fixed version below.
- —upgrade to 2.5.3 or later
Is CVE-2019-12313 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2.5.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |