CVE-2020-7688 json
Command Injection
published 2020-07-01 6 y ago modified 2026-07-08 4 mo ago also GHSA-6m8p-4fxj-pgc2 , EUVD-2021-0973
- cvss
- 8.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
The issue occurs because tagName user input is formatted inside the exec function is executed without any checks.
Patch / fix
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/418sec/huntr/pull/102 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JS-MVERSION-573174 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:R |
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | mversion | <2.0.1 |
2.0.1 |
Affected products
- n/a mversion
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/mikaelbr/mversion/commit/b7a8b32600e60759a7ad3921ec4a2750bf173482
web, patch, third-party-advisory
-
github.com
/418sec/huntr/pull/102
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-MVERSION-573174
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7688
advisory
Sources
- CVE List CVE-2020-7688
- GitHub Advisory GHSA-6m8p-4fxj-pgc2
- NVD CVE-2020-7688
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.