CVE-2026-16008

sagold json-schema-library propertyDependencies.ts parsePropertyDependencies prototype pollution

Published Jul 17, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A security vulnerability has been detected in sagold json-schema-library 11.5.0/11.5.1. This impacts the function parsePropertyDependencies of the file src/keywords/propertyDependencies.ts. The manipulation leads to improperly controlled modification of object prototype attributes. The attack can be initiated remotely. Upgrading to version 11.6.0 will fix this issue. The identifier of the patch is 432287ee6f68a02ce6f015354618486ec427a32d. It is advisable to upgrade the affected component.

Analysis

AI-generated

Technical impact

The vulnerability resides in the parsePropertyDependencies function of sagold json-schema-library versions 11.5.0 and 11.5.1. A maliciously crafted propertyDependencies keyword in a JSON schema causes the function to modify the JavaScript object prototype, creating a prototype pollution flaw (CWE‑1321). The code also performs dynamic evaluation of property names (CWE‑94), allowing an attacker to inject arbitrary properties into shared objects. This can lead to data tampering, privilege escalation or denial‑of‑service within any application that uses the library to validate schemas.

Affected Systems

Sagold json-schema-library versions 11.5.0 and 11.5.1 are distributed via npm and used by Node.js projects, frameworks, or services that import this dependency and process user‑supplied JSON schemas. Any component that calls parsePropertyDependencies when validating schemas is vulnerable.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate risk, and the EPSS score of less than 1 % suggests exploitation attempts are currently rare. The vulnerability is not listed in the CISA KEV catalog. The attack can be launched remotely by supplying a crafted JSON schema; no user interaction or local privileges are required. Attackers likely target any exposed schema‑validation endpoint or internal service that processes untrusted JSON data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade sagold json-schema-library to version 11.6.0 or later; apply the patch identified by commit 432287ee6f68a02ce6f015354618486ec427a32d.
  • Pin the dependency to 11.6.0 in the project’s lockfile (e.g., package-lock.json or yarn.lock) to prevent accidental re‑introduction of a vulnerable version.
  • Audit any custom wrappers or direct usage of parsePropertyDependencies to ensure the patched logic is invoked and no legacy code bypasses the fix.

Generated by OpenCVE AI on August 3, 2026 at 02:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A security vulnerability has been detected in sagold json-schema-library 11.5.0/11.5.1. This impacts the function parsePropertyDependencies of the file src/keywords/propertyDependencies.ts. The manipulation leads to improperly controlled modification of object prototype attributes. The attack can be initiated remotely. Upgrading to version 11.6.0 will fix this issue. The identifier of the patch is 432287ee6f68a02ce6f015354618486ec427a32d. It is advisable to upgrade the affected component.
Title sagold json-schema-library propertyDependencies.ts parsePropertyDependencies prototype pollution
First Time appeared Sagold
Sagold json-schema-library
Weaknesses CWE-1321
CWE-94
CPEs cpe:2.3:a:sagold:json-schema-library:*:*:*:*:*:*:*:*
Vendors & Products Sagold
Sagold json-schema-library
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 17, 2026, 11:59 AM
Reserved
Jul 17, 2026, 5:15 AM
Status
Deferred
Published
Jul 17, 2026, 11:17 AM
Modified
Oct 24, 2026, 8:10 PM