Home / jsen / jsen / CVE-2020-7777
CVE-2020-7777: is it exploited, and which versions of jsen are affected and fixed?
CVE-2020-7777 is a code injection (remote code execution) vulnerability in jsen. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: jsen through 0.6.6 (GitHub advisory GHSA-vm64-cfqx-3698). Fixed in unspecified (CVE record by snyk). Severity: High (7.2, CVSS 3.1, from snyk).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:06 UTC.
What is CVE-2020-7777?
This affects all versions of package jsen. If an attacker can control the schema file, it could run arbitrary JavaScript code on the victim machine. In the module description and README file there is no mention about the risks of untrusted schema files, so I assume that this is applicable. In particular the required field of the schema is not properly sanitized. The resulting string that is build based on the schema definition is then passed to a Function.apply();, leading to an Arbitrary Code Execution.
From the CVE record by snyk, last updated September 17, 2024, 01:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| jsen | before unspecified | unspecified |
As the CVE record by snyk states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | jsen | <= 0.6.6 | none listed | GHSA-vm64-cfqx-3698 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 11, 2023. Summary: Code Injection in jsen.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| jsen project | jsen | all versions | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:25 UTC.
How severe is CVE-2020-7777?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C | snyk |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-7777 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.11% probability of exploitation activity in the next 30 days, percentile 82.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://snyk.io/vuln/SNYK-JS-JSEN-1014670 x_refsource_MISC
- https://github.com/bugventure/jsen/blob/master/lib/jsen.js%23L875 x_refsource_MISC
Who found and reported it?
- Alessio Della Libera (d3lla) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 21, 2020
- Published
- November 23, 2020, 15:40 UTC
- CVE record updated
- September 17, 2024, 01:01 UTC by snyk
- NVD
- Modified, last modified June 17, 2026, 03:25 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:06 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2020-7777
Is CVE-2020-7777 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 2.11% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of jsen are affected by CVE-2020-7777?
jsen through 0.6.6, per the GitHub advisory GHSA-vm64-cfqx-3698. The tables above give every range the sources list.
Which version fixes CVE-2020-7777?
unspecified, per the CVE record by snyk. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-7777?
High (7.2, CVSS 3.1, from snyk). The severity table above shows each score with its source.
Where is the official record of CVE-2020-7777?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.