CVE-2020-7777
Last modified
CVE-2020-7777 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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. EPSS estimates a 2.03% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jsen Project | Jsen | All versions |
References
- https://snyk.io/vuln/SNYK-JS-JSEN-1014670Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-JSEN-1014670Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-7777?
How severe is CVE-2020-7777?
How do I fix CVE-2020-7777?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-7771The package asciitable.js before 1.0.3 are vulnerable to Pro…9.8
- CVE-2020-7772This affects the package doc-path before 2.1.2.9.8
- CVE-2020-7773This affects the package markdown-it-highlightjs before 3.3.…6.1
- CVE-2020-7774The package y18n before 3.2.2, 4.0.1 and 5.0.5, is vulnerabl…9.8
- CVE-2020-7775This affects all versions of package freediskspace. The vuln…9.8
- CVE-2020-7776This affects the package phpoffice/phpspreadsheet from 0.0.0…6.4
- CVE-2020-7778This affects the package systeminformation before 4.30.2. Th…7.3
- CVE-2020-7779All versions of package djvalidator are vulnerable to Regula…7.5
- CVE-2020-7780This affects the package com.softwaremill.akka-http-session:…8.8
- CVE-2020-7781This affects the package connection-tester before 0.2.1. The…9.8
- CVE-2020-7782This affects all versions of package spritesheet-js. It depe…9.8
- CVE-2020-7784This affects all versions of package ts-process-promises. Th…9.8
Are you affected by CVE-2020-7777?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
