{"id":"CVE-2025-68616","title":"WeasyPrint helps web developers to create PDF documents","summary":"WeasyPrint helps web developers to create PDF documents. Prior to version 68.0, a server-side request forgery (SSRF) protection bypass exists in WeasyPrint's `default_url_fetcher`. The vulnerability allows attackers to access internal ne…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-601","CWE-918","CWE-918","CWE-918"],"vendor":"kozea","product":"weasyprint","affected":["weasyprint < 68.0"],"patched":["weasyprint 68.0"],"published":"2026-01-19","updated":"2026-06-30","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-68616","references":[{"url":"https://github.com/Kozea/WeasyPrint/commit/b6a14f0f3f4ce9c0c75c1a2d73cb1c5d43f0e565","label":"security-advisories@github.com"},{"url":"https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmv","label":"security-advisories@github.com"},{"url":"https://access.redhat.com/security/cve/CVE-2025-68616","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2430858","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-983w-rhvv-gwmv","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68616.json","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"}],"tags":["nvd","exploit-available"],"epss":0.00712,"epssPercentile":0.51759,"ingestedAt":"2026-06-30T13:26:50.505Z","exploits":{"github":1,"githubRepos":["https://github.com/rauljvc8/CVE-2025-68616-Detecting-and-Patching-an-SSRF-in-WeasyPrint-with-Wazuh"],"checkedAt":"2026-09-21T15:27:46.624Z"},"exploitAvailable":true,"slug":"CVE-2025-68616","body":"## Overview\n\nWeasyPrint helps web developers to create PDF documents. Prior to version 68.0, a server-side request forgery (SSRF) protection bypass exists in WeasyPrint's `default_url_fetcher`. The vulnerability allows attackers to access internal network resources (such as `localhost` services or cloud metadata endpoints) even when a developer has implemented a custom `url_fetcher` to block such access. This occurs because the underlying `urllib` library follows HTTP redirects automatically without re-validating the new destination against the developer's security policy. Version 68.0 contains a patch for the issue.\n\n## Affected\n\n- `weasyprint < 68.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `weasyprint 68.0`","depth":"midnight","depthScore":53,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":4903,"id":"CVE-2025-68616","ts":1788887215425,"field":"exploit_available","old":"false","new":"true"},{"seq":3786,"id":"CVE-2025-68616","ts":1788886334964,"field":"exploit_available","old":"true","new":"false"},{"seq":2631,"id":"CVE-2025-68616","ts":1788883013196,"field":"exploit_available","old":"false","new":"true"},{"seq":1660,"id":"CVE-2025-68616","ts":1788882417554,"field":"exploit_available","old":"true","new":"false"},{"seq":768,"id":"CVE-2025-68616","ts":1788881850874,"field":"exploit_available","old":"false","new":"true"}]}