Security advisory
This affects the package total.js before 3.4.7. The set function can be used to set a value into the object according to the path. However the keys of the path being set are not properly sanitized, leading to a prototype pollution vulnerability. The impact depends on the application. In some cases it is possible to achieve Denial of service (DoS), Remote Code Execution or Property Injection.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-28495
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:42 UTC · Revision 1
Source evidence
This affects the package total.js before 3.4.7. The set function can be used to set a value into the object according to the path. However the keys of the path being set are not properly sanitized, leading to a prototype pollution vulnerability. The impact depends on the application. In some cases it is possible to achieve Denial of service (DoS), Remote Code Execution or Property Injection.
osv:CVE-2020-28495
Complete source record
{
"id": "d5b7dea0e85020f5001141530f799bc8b15392a3618f3b369ab9e51b07dad72a",
"url": "https://osv.dev/vulnerability/CVE-2020-28495",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-28495",
"summary": "This affects the package total.js before 3.4.7. The set function can be used to set a value into the object according to the path. However the keys of the path being set are not properly sanitized, leading to a prototype pollution vulnerability. The impact depends on the application. In some cases it is possible to achieve Denial of service (DoS), Remote Code Execution or Property Injection.",
"evidence": "osv:CVE-2020-28495",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-28495",
"aliases": [
"CVE-2020-28495",
"GHSA-6cf8-qhqj-vjqm",
"SNYK-JS-TOTALJS-1046671"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/totaljs/framework",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b3f901561d66ab799a4a99279893b94cad7ae4ff"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "b3f901561d66ab799a4a99279893b94cad7ae4ff"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v3.4.4",
"v3.4.3",
"v3.4.2",
"v3.4.1",
"v3.4.0",
"v3.3.2",
"v3.3.1",
"v3.3.0",
"v3.2.0",
"v3.1.0",
"v3.0.0",
"v2.9.4",
"v2.9.3",
"v2.9.2",
"v2.9.1",
"v2.9.0",
"v2.8.0",
"v2.7.0",
"v2.6.2",
"v2.6.1",
"v2.6.0",
"v2.5.0",
"v2.4.0",
"v2.3.0",
"v2.2.0",
"v2.1.0",
"v2.0.1",
"v2.0.0",
"v1.9.8",
"v1.9.7",
"v1.9.6",
"v1.9.5",
"v1.9.4",
"v1.9.3",
"v1.9.2",
"v1.9.1",
"v1.9.0",
"v1.8.0",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.6.3",
"v1.6.1",
"v1.6.0",
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.4.0",
"v1.3.1",
"v1.3.0",
"v1.2.3-1",
"v1.2.4",
"v1.2.3",
"v1.2.0",
"v1.1.0",
"v1.0.2",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28495.json"
}
}
],
"modified": "2026-10-24T10:49:34.689790939Z",
"provider": "osv",
"references": [
"https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set",
"https://github.com/totaljs/framework/blob/master/utils.js%23L6606",
"https://github.com/totaljs/framework/blob/master/utils.js%23L6617",
"https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff",
"https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:*"
],
"vendor_product": "totaljs:total.js",
"extracted_events": [
{
"range": [
{
"fixed": "3.4.7"
},
{
"fixed": "3.4.7"
},
{
"fixed": "3.4.7"
}
],
"source": "CPE_RANGE"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "3.4.7"
}
],
"source": "DESCRIPTION"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-28495",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441759,
"published_at": "2021-02-02T11:15:13.257+00:00"
}