{
  "id": "CVE-2026-126779",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-126779",
  "published_at": "2026-11-11T18:41:10.254Z",
  "title": "Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()",
  "vendor": "spatie",
  "product": "browsershot",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Spatie Browsershot 2.2.0 before 5.5.0 contains a local file read vulnerability that allows attackers to read server files by supplying root-relative references in HTML passed to setHtml(). Attackers can embed iframe, img, link or script elements referencing paths like /etc/passwd, which resolve to file:// URLs and render file contents into the returned PDF or screenshot.",
  "cwe": "CWE-73",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "spatie",
        "product": "browsershot",
        "ranges": [
          "\u003e= 2.2.0, \u003c 5.5.0"
        ],
        "fixed_in": [
          "5.5.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade browsershot to 5.5.0 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/spatie/browsershot/pull/989"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/spatie/browsershot/commit/eba71ab7f4aba23d9321d653ccd19d4e94432516"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/spatie/browsershot/releases/tag/5.5.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
