{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-43979","id":"CVE-2026-43979","title":"Local Deep Research: HTML Injection via Unescaped User Input in PDF Export (`pdf_service.py:_markdown_to_html`)","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","descriptionLong":"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.","published":"2026-05-28T17:59:19.443Z","updated":"2026-10-28T02:30:52.182877631Z","reserved":"2026-05-04T20:24:31.916Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["LearningCircuit local-deep-research"],"affectedProducts":[{"vendor":"LearningCircuit","product":"local-deep-research","defaultStatus":null,"versions":[{"version":"< 1.6.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"local-deep-research","purl":"pkg:pypi/local-deep-research","ranges":["<1.6.0"],"fixed":["1.6.0"],"advisory":"GHSA-fj2m-qvh9-jq4q"}],"cwes":["CWE-79","CWE-918"],"aliases":["GHSA-fj2m-qvh9-jq4q","PYSEC-2026-2610"],"references":[{"url":"https://github.com/LearningCircuit/local-deep-research/security/advisories/GHSA-fj2m-qvh9-jq4q","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/LearningCircuit/local-deep-research/pull/3082","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/LearningCircuit/local-deep-research/pull/3613","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43979.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43979","tags":["advisory"]},{"url":"https://github.com/LearningCircuit/local-deep-research/commit/0148fa265a3da460c07def7441f9ac49ea61fbcb","tags":["web"]},{"url":"https://github.com/LearningCircuit/local-deep-research/commit/15f13d5c79847f1c38c2dc67bd0027c38af9e34b","tags":["web"]},{"url":"https://github.com/LearningCircuit/local-deep-research","tags":["package"]},{"url":"https://pypi.org/project/local-deep-research","tags":["package"]},{"url":"https://github.com/advisories/GHSA-fj2m-qvh9-jq4q","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00331,"epssPercentile":0.26813,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-43979","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43979","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-43979","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fj2m-qvh9-jq4q","ok":true,"note":"GHSA-fj2m-qvh9-jq4q"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-43979","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}