---
id: CVE-2026-44016
aliases:
  - GHSA-pj2v-ggqh-cmq2
  - PYSEC-2026-2142
title: 'Docling: Unsafe Playwright-based HTML Rendering'
summary: 'Docling: Unsafe Playwright-based HTML Rendering'
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L'
vendor: docling
product: docling
ecosystem: pip
affected:
  - 'docling >= 2.82.0, < 2.91.0'
patched:
  - docling 2.91.0
published: '2026-06-03'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-pj2v-ggqh-cmq2'
references:
  - url: >-
      https://github.com/docling-project/docling/security/advisories/GHSA-pj2v-ggqh-cmq2
  - url: 'https://github.com/docling-project/docling'
  - url: 'https://github.com/docling-project/docling/releases/tag/v2.91.0'
tags:
  - osv
  - pip
epss: 0.00593
epssPercentile: 0.46005
ingestedAt: '2026-07-13T18:58:01.524Z'
---

## Overview

### 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
- Fix release: [v2.91.0](https://github.com/docling-project/docling/releases/tag/v2.91.0)

## Affected packages

- `docling >= 2.82.0, < 2.91.0`

## Remediation

Upgrade to a patched release:

- `docling 2.91.0`
