Improper Input Validation Affecting local-deep-research package, versions [,1.0.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LOCALDEEPRESEARCH-13506945
  • published10 Oct 2025
  • disclosed2 Oct 2025
  • creditUnknown

Introduced: 2 Oct 2025

CVE NOT AVAILABLE CWE-20  (opens in a new tab)

How to fix?

Upgrade local-deep-research to version 1.0.0 or higher.

Overview

local-deep-research is an AI-powered research assistant with deep, iterative analysis using LLMs and web searches

Affected versions of this package are vulnerable to Improper Input Validation via the HTML entity decoding logic in the client-side PDF export pipeline. An attacker can exploit this vulnerability by supplying specially crafted input containing nested or malformed HTML entities that are double-unescaped in the downloadPdf function of the src/local_deep_research/web/static/js/services/pdf.js component, allowing encoded payloads to be transformed into executable markup after multiple decoding passes.

References

CVSS Base Scores

version 4.0
version 3.1