{"answers":{"affected":"3 open source packages ship an affected version, including weasyprint.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55073 exists.","fix":"Upgrade weasyprint to 70.0 or later.","what":"CVE-2026-55073 is a medium-severity server-side request forgery vulnerability in Kozea WeasyPrint, published on 14 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55073 and fix it if it is affected.\n\nWhat it is: CVE-2026-55073 is a medium-severity server-side request forgery vulnerability in Kozea WeasyPrint, published on 14 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55073 exists.\n\nAffected packages and fixed versions:\n- weasyprint (PyPI): affected all versions; fixed in 70.0\n- weasyprint (PyPI): affected all versions; fixed in 70.0\n- weasyprint (PyPI): affected all versions; fixed in 70.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55073/ (Markdown: https://insights.sbomify.com/CVE-2026-55073/index.md)","id":"CVE-2026-55073","markdown":"https://insights.sbomify.com/CVE-2026-55073/index.md","name":"CVE-2026-55073","record":{"aliases":["DEBIAN-CVE-2026-55073","GHSA-jf6q-chmf-3h3v","PYSEC-2026-3940","UBUNTU-CVE-2026-55073","openSUSE-SU-2026:11816-1","openSUSE-SU-2026:21928-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Python PDF library","requires_auth":"none","summary":"Attackers can bypass URL restrictions in WeasyPrint to read local files or access internal resources via crafted PDF generation inputs.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"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.","ecosystems":["PyPI","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"WeasyPrint restrictive URL fetcher bypass allows local file read and SSRF","id":"CVE-2026-55073","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":5,"n_references":3,"next":{"headline":"Ansible FreeBSD Jail Connection Plugin: Jail escape via symlink following in put_file (host-side root mv)","id":"CVE-2026-55074"},"packages":[{"ecosystem":"PyPI","fixed":["70.0"],"introduced":["0"],"last_affected":[],"package":"weasyprint","purl":null,"source":"GHSA-jf6q-chmf-3h3v"},{"ecosystem":"PyPI","fixed":["70.0"],"introduced":["0"],"last_affected":[],"package":"weasyprint","purl":"pkg:pypi/weasyprint","source":"GHSA-jf6q-chmf-3h3v"},{"ecosystem":"PyPI","fixed":["70.0"],"introduced":["0"],"last_affected":[],"package":"weasyprint","purl":"pkg:pypi/weasyprint","source":"PYSEC-2026-3940"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["65.1-bp160.4.1"],"introduced":["0"],"last_affected":[],"package":"python-weasyprint","purl":"pkg:rpm/opensuse/python-weasyprint\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21928-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["70.0-1.1"],"introduced":["0"],"last_affected":[],"package":"python-weasyprint","purl":"pkg:rpm/opensuse/python-weasyprint\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11816-1"}],"prev":{"headline":"Pimcore: ClassDefinition UID regex missing end anchor allows SQL injection via Block.php unquoted table name","id":"CVE-2026-55072"},"products":["WeasyPrint"],"published":"2026-09-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-16","vendors":["Kozea"]},"summary":"Attackers can bypass URL restrictions in WeasyPrint to read local files or access internal resources via crafted PDF generation inputs.","url":"https://insights.sbomify.com/CVE-2026-55073/"}