CVE-2026-55073

Source
https://cve.org/CVERecord?id=CVE-2026-55073
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55073.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-55073
Aliases
Downstream
Published
2026-09-14T16:55:12Z
Modified
2026-09-17T03:30:51Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
WeasyPrint restrictive URL fetcher bypass allows local file read and SSRF
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55073.json"
}
References

Affected packages

Git / github.com/kozea/weasyprint

Affected ranges

Type
GIT
Repo
https://github.com/kozea/weasyprint
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "70.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.1
v0.10
v0.11
v0.12
v0.13
v0.14
v0.15
v0.16
v0.17
v0.17.1
v0.18
v0.19
v0.19.1
v0.2
v0.20
v0.20.1
v0.24
v0.25
v0.26
v0.27
v0.28
v0.29
v0.30
v0.31
v0.32
v0.33
v0.34
v0.35
v0.36
v0.37
v0.38
v0.39
v0.40
v0.41
v0.42
v0.5
v0.6
v0.7
v0.8
v0.9
Other
v43
v43rc1
v43rc2
v44
v45
v46
v47
v48
v49
v50
v51
v53.*
v53.0
v53.0b1
v53.0b2
v54.*
v54.0
v54.0b1
v55.*
v55.0b1
v56.*
v56.0b1
v57.*
v57.0
v57.0b1
v57.1
v58.*
v58.0
v58.0b1
v58.1
v59.*
v59.0
v59.0b1
v60.*
v60.0
v60.1
v61.*
v61.0
v61.1
v62.*
v62.0
v62.1
v63.*
v63.0
v63.1
v64.*
v64.0
v64.1
v65.*
v65.0
v66.*
v66.0
v67.*
v67.0
v68.*
v68.0
v68.1
v69.*
v69.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55073.json"