Medium
Security advisory
XSS exists in Shave before 2.5.3 because output encoding is mishandled during the overwrite of an HTML element.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-12313
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:33 UTC · Revision 1
Source evidence
XSS exists in Shave before 2.5.3 because output encoding is mishandled during the overwrite of an HTML element.
osv:CVE-2019-12313
Complete source record
{
"id": "b3e846ed7dedeeee4e4d9124c24c888d88b2b50f73288e605db1e593adf9b3d5",
"url": "https://osv.dev/vulnerability/CVE-2019-12313",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-12313",
"summary": "XSS exists in Shave before 2.5.3 because output encoding is mishandled during the overwrite of an HTML element.",
"evidence": "osv:CVE-2019-12313",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-12313",
"aliases": [
"CVE-2019-12313",
"GHSA-gh4g-3gm9-5wrq"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/dollarshaveclub/shave",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "da7371b0531ba14eae48ef1bb1456a3de4cfa954"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:dollarshaveclub:shave:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.5.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "da7371b0531ba14eae48ef1bb1456a3de4cfa954"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"2.5.2",
"2.5.1",
"2.5.0",
"2.4.0",
"2.3.0",
"2.2.2",
"2.2.1",
"2.2.0",
"2.1.7",
"2.1.3",
"2.1.2",
"2.0.4",
"2.0.3",
"2.0.0",
"1.0.4",
"1.0.3",
"1.0.2",
"1.0.1",
"1.0.0",
"0.2.3",
"0.2.2",
"0.2.1",
"0.2.0",
"0.1.8",
"0.1.7",
"0.1.6",
"0.1.5",
"0.1.4",
"0.1.3",
"0.1.1",
"0.1.0",
"0.0.8",
"0.0.7",
"0.0.5",
"0.0.4",
"0.0.3",
"0.0.2",
"0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12313.json"
}
}
],
"modified": "2026-10-20T10:50:40.068318586Z",
"provider": "osv",
"references": [
"https://www.npmjs.com/advisories/822",
"https://github.com/dollarshaveclub/shave/commit/da7371b0531ba14eae48ef1bb1456a3de4cfa954#diff-074799b511e4b61923dfd3f2a3bf9b54R67",
"https://github.com/dollarshaveclub/shave/compare/852b537...da7371b"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-12313",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381972,
"published_at": "2019-05-24T14:29:00.327+00:00"
}