VULNERABILITY INTELLIGENCE
CVE-2020-7777
CVSS score7.2 HIGH
EPSS probability2.11%
CISA KEVNot currently listed
Published2020-11-23
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- nvd@nist.gov: NVD-CWE-noinfo
Primary references
- report@snyk.io — Broken Link
- report@snyk.io — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Broken Link
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory