# CVE-2020-6836: Command Injection in hot-formula-parser

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 2.15%, higher than 82% of CVEs (2026-12-01)
- Published: 2020-01-11T00:42:28.000Z
- Modified: 2026-06-17T03:23:53.660Z
- Also known as: GHSA-rc77-xxq6-4mff
- Weaknesses: CWE-94
- Assigned by: mitre

## Description

grammar-parser.jison in the hot-formula-parser package before 3.0.1 for Node.js is vulnerable to arbitrary code injection. The package fails to sanitize values passed to the parse function and concatenates them in an eval call. If a value of the formula is taken from user-controlled input, it may allow attackers to run arbitrary commands on the server.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- hot-formula-parser (npm): before 3.0.1
- hot-formula-parser_project hot-formula-parser: before 3.0.1

## Every score

- 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://www.npmjs.com/advisories/1439> (patch, third-party-advisory, web)
- <https://github.com/handsontable/formula-parser/commit/396b089738d4bf30eb570a4fe6a188affa95cd5e> (patch, web)
- <https://blog.truesec.com/2020/01/17/reverse-shell-through-a-node-js-math-parser/>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-6836> (advisory)
- <https://github.com/handsontable/formula-parser/pull/58> (web)
- <https://blog.truesec.com/2020/01/17/reverse-shell-through-a-node-js-math-parser> (web)
- <https://github.com/handsontable/formula-parser> (package)

## Sources

- CVE List: [CVE-2020-6836](https://www.cve.org/CVERecord?id=CVE-2020-6836), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-rc77-xxq6-4mff](https://github.com/advisories/GHSA-rc77-xxq6-4mff), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-6836](https://nvd.nist.gov/vuln/detail/CVE-2020-6836), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-6836 · Whole record: https://cve.day/CVE-2020-6836.json · Rebuilt by cve.day 2026-11-25T22:57:50.506Z
