High severity7.2NVD Advisory· Published Nov 23, 2020· Updated Jun 17, 2026
CVE-2020-7777
CVE-2020-7777
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
jsennpm | <= 0.6.6 | — |
Affected products
3- cpe:2.3:a:jsen_project:jsen:*:*:*:*:*:node.js:*:*
- jsen/jsendescription
Patches
Vulnerability mechanics
References
6- snyk.io/vuln/SNYK-JS-JSEN-1014670nvdExploitThird Party Advisory
- github.com/advisories/GHSA-vm64-cfqx-3698ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-7777ghsaADVISORY
- github.com/bugventure/jsen/blob/master/lib/jsen.jsghsaWEB
- github.com/bugventure/jsen/blob/master/lib/jsen.js%23L875nvdBroken Link
- security.snyk.io/vuln/SNYK-JS-JSEN-1014670ghsaWEB
News mentions
0No linked articles in our index yet.