{"cve":"CVE-2026-43979","nvd":{"published":"2026-05-28T19:16:38.067","modified":"2026-10-26T13:10:00.140","status":"Deferred","description":"Local Deep Research is an AI-powered research assistant for deep, iterative research. Prior to 1.6.0, PDFService._markdown_to_html() constructs an HTML document by interpolating user-controlled values — specifically title (sourced from research.title or research.query) and metadata key-value pairs — directly into an f-string without any HTML escaping. An authenticated attacker can craft a research query containing HTML special characters to inject arbitrary HTML tags into the document processed by WeasyPrint during PDF export. This injection can be chained to trigger a Server-Side Request Forgery (SSRF), bypassing the application's existing SSRF defenses in ssrf_validator.py. This vulnerability is fixed in 1.6.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":5.0},"cwes":["CWE-79","CWE-918"],"references":["https://github.com/LearningCircuit/local-deep-research/pull/3082","https://github.com/LearningCircuit/local-deep-research/pull/3613","https://github.com/LearningCircuit/local-deep-research/security/advisories/GHSA-fj2m-qvh9-jq4q","https://github.com/LearningCircuit/local-deep-research/security/advisories/GHSA-fj2m-qvh9-jq4q"],"products":[],"source":"nvd","synced_at":"2026-10-26T13:39:24.642594360+00:00"},"epss":{"cve":"CVE-2026-43979","score":0.00263,"percentile":0.18,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-fj2m-qvh9-jq4q","url":"https://osv.dev/vulnerability/GHSA-fj2m-qvh9-jq4q","summary":"local-deep-research is Vulnerable to HTML Injection via Unescaped User Input in PDF Export (`pdf_service.py:_markdown_to_html`)","modified":"2026-07-13T16:42:59.514485677Z","packages":[{"ecosystem":"PyPI","name":"local-deep-research","purl":"pkg:pypi/local-deep-research","ranges":["<1.6.0"],"fixed":["1.6.0"]}]},{"id":"PYSEC-2026-2610","url":"https://osv.dev/vulnerability/PYSEC-2026-2610","summary":"local-deep-research is Vulnerable to HTML Injection via Unescaped User Input in PDF Export (`pdf_service.py:_markdown_to_html`)","modified":"2026-07-13T16:32:11.419139832Z","packages":[{"ecosystem":"PyPI","name":"local-deep-research","purl":"pkg:pypi/local-deep-research","ranges":["<1.6.0"],"fixed":["1.6.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}