Advisory

GHSA-pj2v-ggqh-cmq2

Also known as: CVE-2026-44016, PYSEC-2026-2142

Summary

Docling: Unsafe Playwright-based HTML Rendering

Details

Impact
In versions >= 2.82.0, < 2.91.0, if the HTML backend was explicitly configured for rendering (rendering option by default deactivated), then the Playwright-based rendering feature could allow JavaScript execution and unrestricted network access when processing untrusted HTML documents. An attacker could craft malicious HTML that executes arbitrary JavaScript in the rendering context or makes unauthorized network requests to internal services, potentially leading to SSRF attacks, data exfiltration, or remote code execution in the rendering environment.

Patches
Fixed in version 2.91.0. The rendering context now explicitly disables JavaScript execution (java_script_enabled=False) and implements network isolation controls. When enable_remote_fetch is disabled, the browser operates in offline mode, preventing all network requests.

Workarounds
Refrain from using render_page=True when processing untrusted HTML documents.

References

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-06-03 21:09 UTC
Modified
2026-07-20 21:46 UTC

Affected packages and fixes

docling

PyPI · All systems

Affected

  • introduced 2.82.0, fixed 2.91.0 (ecosystem)

Fixed versions

2.91.0

Fix

  • Fixed version 2.91.0
    pip install --upgrade docling==2.91.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences