SCA: security update for weasyprint (GHSA-jf6q-chmf-3h3v)

medium Tenable Self-Hosted Container Security Plugin ID 447848

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- WeasyPrint helps web developers to create PDF documents. Prior to 70.0, server-side applications that
configure a restrictive url_fetcher and pass attacker-influenced values to HTML.write_pdf() can have the
restriction bypassed through the xmp_metadata or stylesheets options. In weasyprint/pdf/init.py,
xmp_metadata calls select_source() without the document url_fetcher, allowing an accessible local file to
be read and embedded verbatim in the output PDF. In weasyprint/document.py, stylesheets constructs CSS()
without the document url_fetcher, allowing local or internal resource loading and propagating the
permissive fetcher through nested CSS imports and url() references. The stylesheets channel applies
fetched resources but does not by itself disclose stylesheet comments verbatim. This issue is fixed in
version 70.0. (CVE-2026-55073)

Solution

Update the weasyprint library and its related packages to version 70.0 or later.

See Also

https://github.com/advisories/GHSA-jf6q-chmf-3h3v

Plugin Details

Severity: Medium

ID: 447848

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 9/9/2026

Updated: 9/16/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.63

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2026-55073

CVSS v3

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 5.4

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/9/2026

Vulnerability Publication Date: 9/9/2026

Reference Information

CVE: CVE-2026-55073

cwe: CWE-918