All reports
Medium

Cross-Site Scripting in shave

Affected versions

Affected versions
< 2.5.3
Fixed version
2.5.3

Exploitation

CVE-2019-12313

Probability of exploitation in the next 30 days: 1.26%

FIRST EPSS · 2026-11-18

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.

Links