{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "78861efc575b9ca3b95f46afaee7c1a8b7587ffb"
            },
            {
              "fixed": "734ee8e2dc84ff3090682f3abff056d0907c8598"
            }
          ],
          "repo": "https://github.com/kozea/weasyprint",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-35jj-wx47-4w8r"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-829"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28184.json"
  },
  "details": "WeasyPrint helps web developers to create PDF documents. Since version 61.0, there's a vulnerability which allows attaching content of arbitrary files and URLs to a generated PDF document, even if `url_fetcher` is configured to prevent access to files and URLs. This vulnerability has been patched in version 61.2.",
  "id": "CVE-2024-28184",
  "modified": "2026-04-01T23:07:50.424451961Z",
  "published": "2024-03-09T00:50:32.115Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZLQZMOEDY72TS43HDXOBVID2VYCTWIH6/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28184.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-28184"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "WeasyPrint allows the attachment of arbitrary files and URLs to a PDF"
}