A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Jsen Project jsen
References
- github.com /bugventure/jsen/blob/master/lib/jsen.js%23L875
- snyk.io /vuln/SNYK-JS-JSEN-1014670
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning