Skip to content

chore(deps): update dependency jsonpath to v1.3.0 [security]#4722

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-jsonpath-vulnerability
Open

chore(deps): update dependency jsonpath to v1.3.0 [security]#4722
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-jsonpath-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 5, 2026

This PR contains the following updates:

Package Change Age Confidence
jsonpath 1.1.11.3.0 age confidence

GitHub Vulnerability Alerts

CVE-2025-61140

The value function in jsonpath 1.1.1 lib/index.js is vulnerable to Prototype Pollution.

CVE-2026-1615

Impact

Arbitrary Code Injection (Remote Code Execution & XSS):

A critical security vulnerability affects all versions of the jsonpath package. The library relies on the static-eval module to evaluate JSON Path expressions but fails to properly sanitize or sandbox the input.

This allows an attacker to inject arbitrary JavaScript code into the JSON Path expression. When the library evaluates this expression, the malicious code is executed.

  • Node.js Environments: This leads to Remote Code Execution (RCE), allowing an attacker to compromise the server.
  • Browser Environments: This leads to Cross-Site Scripting (XSS), allowing an attacker to hijack user sessions or exfiltrate data.

Affected Methods:

The vulnerability triggers when untrusted data is passed to any method that evaluates a path, including:

  • jsonpath.query
  • jsonpath.nodes
  • jsonpath.paths
  • jsonpath.value
  • jsonpath.parent
  • jsonpath.apply

Patches

No Patch Available:

Currently, all versions of jsonpath are vulnerable. There is no known patched version of this package that resolves the issue while retaining the current architecture.

Recommendation:

Developers are strongly advised to migrate to a secure alternative (such as jsonpath-plus or similar libraries that do not use eval/static-eval) or strictly validate all JSON Path inputs against a known allowlist.

Workarounds

  • Strict Input Validation: Ensure that no user-supplied data is ever passed directly to jsonpath functions.
  • Sanitization: If user input is unavoidable, implement a strict parser to reject any JSON Path expressions containing executable JavaScript syntax (e.g., parentheses (), script expressions script:, or function calls).

Resources


Release Notes

dchester/jsonpath (jsonpath)

v1.3.0

Compare Source

v1.2.1

Compare Source

v1.2.0

Compare Source


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 5, 2026

No reviewable files after applying ignore patterns.

@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 44.32%. Comparing base (e6344d3) to head (e633913).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4722   +/-   ##
=======================================
  Coverage   44.32%   44.32%           
=======================================
  Files         813      813           
  Lines       32736    32736           
  Branches     5721     5721           
=======================================
  Hits        14511    14511           
  Misses      16224    16224           
  Partials     2001     2001           
Flag Coverage Δ
api-python 92.65% <ø> (ø)
catalog 19.52% <ø> (ø)
lambda 96.63% <ø> (ø)
py-shared 98.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot changed the title chore(deps): update dependency jsonpath to v1.2.0 [security] chore(deps): update dependency jsonpath to v1.2.0 [security] - autoclosed Feb 5, 2026
@renovate renovate bot closed this Feb 5, 2026
@renovate renovate bot deleted the renovate/npm-jsonpath-vulnerability branch February 5, 2026 21:06
@renovate renovate bot changed the title chore(deps): update dependency jsonpath to v1.2.0 [security] - autoclosed chore(deps): update dependency jsonpath to v1.2.0 [security] Feb 9, 2026
@renovate renovate bot reopened this Feb 9, 2026
@renovate renovate bot force-pushed the renovate/npm-jsonpath-vulnerability branch 3 times, most recently from 5d35d32 to ab31fe6 Compare February 10, 2026 03:06
@renovate renovate bot changed the title chore(deps): update dependency jsonpath to v1.2.0 [security] Update dependency jsonpath to v1.2.0 [SECURITY] Feb 10, 2026
@renovate renovate bot force-pushed the renovate/npm-jsonpath-vulnerability branch 5 times, most recently from 3ad11f8 to 2f360af Compare February 12, 2026 02:55
@renovate renovate bot changed the title Update dependency jsonpath to v1.2.0 [SECURITY] Update dependency jsonpath to v1.2.1 [SECURITY] Feb 12, 2026
@renovate renovate bot force-pushed the renovate/npm-jsonpath-vulnerability branch from 2f360af to f7b41b3 Compare February 12, 2026 15:33
@renovate renovate bot changed the title Update dependency jsonpath to v1.2.1 [SECURITY] Update dependency jsonpath to v1.2.0 [SECURITY] Feb 12, 2026
@renovate renovate bot force-pushed the renovate/npm-jsonpath-vulnerability branch 2 times, most recently from 102a634 to 1a55303 Compare February 16, 2026 03:52
@renovate renovate bot changed the title Update dependency jsonpath to v1.2.0 [SECURITY] Update dependency jsonpath to v1.2.1 [SECURITY] Feb 16, 2026
@renovate renovate bot force-pushed the renovate/npm-jsonpath-vulnerability branch from 1a55303 to 098c94d Compare February 17, 2026 11:59
@renovate renovate bot changed the title Update dependency jsonpath to v1.2.1 [SECURITY] Update dependency jsonpath to v1.2.0 [SECURITY] Feb 19, 2026
@renovate renovate bot force-pushed the renovate/npm-jsonpath-vulnerability branch 2 times, most recently from e0f59b8 to b27ca79 Compare February 20, 2026 15:08
@renovate renovate bot changed the title Update dependency jsonpath to v1.2.0 [SECURITY] chore(deps): update dependency jsonpath to v1.2.0 [security] Feb 24, 2026
@renovate renovate bot force-pushed the renovate/npm-jsonpath-vulnerability branch 2 times, most recently from b028d16 to 32ae62c Compare February 25, 2026 11:18
@renovate renovate bot force-pushed the renovate/npm-jsonpath-vulnerability branch 4 times, most recently from 86d66a1 to 8a5f274 Compare March 5, 2026 02:50
@renovate renovate bot force-pushed the renovate/npm-jsonpath-vulnerability branch 6 times, most recently from 19805bb to 8930133 Compare March 13, 2026 12:06
@renovate renovate bot force-pushed the renovate/npm-jsonpath-vulnerability branch 3 times, most recently from ddebc53 to 110bac2 Compare March 18, 2026 23:01
@renovate renovate bot changed the title chore(deps): update dependency jsonpath to v1.2.0 [security] chore(deps): update dependency jsonpath to v1.3.0 [security] Mar 19, 2026
@renovate renovate bot force-pushed the renovate/npm-jsonpath-vulnerability branch 3 times, most recently from d5304a6 to 6ba5eef Compare March 23, 2026 13:37
@renovate renovate bot force-pushed the renovate/npm-jsonpath-vulnerability branch from 6ba5eef to e633913 Compare March 25, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants