CVE-2021-32831
JSON

7.5high

Code injection in total.js

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
1.47% (higher than 74% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-vwhc-pww7-72x6

Description

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

Product or packageVersionsReported by
totaljs framework< 3.4.9CVE List
total.js (npm)before 3.4.9GitHub Advisory Database
totaljs total.jsbefore 3.4.9NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Total.js framework (paquete npm total.js) es un framework para la plataforma Node.js escrito en JavaScript puro similar a Laravel de PHP o Django de Python o ASP.NET MVC. En total.js framework versiones anteriores a 3.4.9, llamar a la función utils.set con valores controlados por el usuario conlleva a una inyección de código. Esto puede causar una variedad de impactos que incluyen una ejecución de código arbitrario. Esto es corregido en versión 3.4.9.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-32831 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-vwhc-pww7-72x6 changed 2023-11-08CC-BY-4.0
NVDCVE-2021-32831 changed 2026-06-17Public domain