# CVE-2021-23389: Arbitrary Code Execution

- Severity: Critical 9.8 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.60%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-12T15:15:18.459Z
- Modified: 2026-07-08T06:49:55.167Z
- Also known as: GHSA-7fm6-gxqg-2pwr, SNYK-JS-TOTALJS-1088607
- Weaknesses: CWE-94
- Assigned by: snyk

## Description

The package total.js before 3.4.9 are vulnerable to Arbitrary Code Execution via the U.set() and U.get() functions.

(As written by CVE List.)

## Affected

- total.js: from unspecified before 3.4.9
- total.js (npm): before 3.4.9
- totaljs total.js: before 3.4.9

## Every score

- snyk: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-TOTALJS-1088607> (exploit, patch, third-party-advisory, web)
- <https://github.com/totaljs/framework/blob/master/utils.js%23L6606-L6631> (broken-link, web)
- <https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23389> (advisory)

## Sources

- CVE List: [CVE-2021-23389](https://www.cve.org/CVERecord?id=CVE-2021-23389), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-7fm6-gxqg-2pwr](https://github.com/advisories/GHSA-7fm6-gxqg-2pwr), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-23389](https://nvd.nist.gov/vuln/detail/CVE-2021-23389), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23389 · Whole record: https://cve.day/CVE-2021-23389.json · Rebuilt by cve.day 2026-11-25T22:58:02.517Z
