Advisory record · GHSA-fj2m-qvh9-jq4q

local-deep-research is Vulnerable to HTML Injection via Unescaped User Input in PDF Export (`pdf_service.py:_markdown_to_html`)

CVSS 5.0 MediumEPSS 0.0033 · 26th percentile

Published by the GitHub Advisory Database at 11 May 2026, 19:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
local-deep-researchPyPI<1.6.01.6.0
Identifiers
GHSA-fj2m-qvh9-jq4q · CVE-2026-43979 · PYSEC-2026-2610
Weakness (CWE)
CWE-79 · CWE-918
Published
11 May 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Affected: local-deep-research versions before 1.6.0 are vulnerable to HTML injection in PDF export, because user-supplied research titles and metadata are inserted into the generated HTML without escaping. An authenticated user can submit a crafted query to inject HTML that WeasyPrint processes, which can trigger server-side requests to internal addresses and bypass the application's SSRF validation. Upgrade to version 1.6.0 or later, which adds both HTML escaping and URL validation for PDF resource fetching.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.0 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0033, the 26th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:02 UTC First seen by agentprime
  2. 31 Oct 2026, 15:02 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.