{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32831","published":"2021-08-30T21:15:09.287000Z","last_modified":"2026-06-17T03:53:43.203000Z","status":"Modified","cvss":{"version":"3.1","score":7.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:*","part":"a","vendor":"totaljs","product":"total.js","version_end_excluding":"3.4.9"}],"cpes_truncated":false,"vendors":["totaljs"],"products":["totaljs/total.js"],"epss":{"score":0.01466,"percentile":0.73996,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-vwhc-pww7-72x6","ecosystem":"npm","name":"total.js","purl":"pkg:npm/total.js","ranges":[{"introduced":"0","fixed":"3.4.9"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2021-32831/","html_en":"/en/cve/CVE-2021-32831/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32831","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32831"},"untrusted":{"vendor_name":"Totaljs","product_name":"Total.js","desc_en":"Total.js framework (npm package total.js) is a framework for Node.js platfrom written in pure JavaScript similar to PHP's Laravel or Python's Django or ASP.NET MVC. In total.js framework before version 3.4.9, calling the utils.set function with user-controlled values leads to code-injection. This can cause a variety of impacts that include arbitrary code execution. This is fixed in version 3.4.9.","affected":[{"untrusted_vendor":"totaljs","untrusted_product":"framework","versions":[]}],"references":[{"url":"https://github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11","tags":["Third Party Advisory"]},{"url":"https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3","tags":["Patch","Third Party Advisory"]},{"url":"https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://www.npmjs.com/package/total.js","tags":["Product","Third Party Advisory"]}]}}