{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-126779 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls setHtml(). Many projects that include it are not exposed.","fix":"No fix has been published for CVE-2026-126779 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-126779 is a high-severity path traversal vulnerability in spatie browsershot, published on 11 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-126779 and fix it if it is affected.\n\nWhat it is: CVE-2026-126779 is a high-severity path traversal vulnerability in spatie browsershot, published on 11 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-126779 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls setHtml(). Many projects that include it are not exposed.\n\nAffected product: spatie browsershot. No package-level version data is available, so check the vendor advisory linked from the reference page.\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.\n   If an affected version is present, also search the code for calls to setHtml() and report whether any exist.\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-126779/ (Markdown: https://insights.sbomify.com/CVE-2026-126779/index.md)","id":"CVE-2026-126779","markdown":"https://insights.sbomify.com/CVE-2026-126779/index.md","name":"CVE-2026-126779","record":{"aliases":["GHSA-wp7g-f22j-79fp"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP screenshot library","requires_auth":"none","requires_specific_call":true,"summary":"Attackers supplying HTML to Browsershot's setHtml can read local server files rendered into PDF or screenshot.","user_interaction":"not_required","vuln_class":"path_traversal","vulnerable_functions":["setHtml()"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.7,"severity":"high","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","version":"4.0"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()","id":"CVE-2026-126779","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":5,"next":{"headline":"Webmin through 2.670 Privilege Escalation via acl/save_group.cgi","id":"CVE-2026-126780"},"nickname":null,"packages":[],"prev":{"headline":"Wallos 4.4.0 before 5.10.3 Stored XSS via sendnotifications.php","id":"CVE-2026-126778"},"products":["browsershot"],"published":"2026-11-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-11-11","vendors":["spatie"]},"summary":"Attackers supplying HTML to Browsershot's setHtml can read local server files rendered into PDF or screenshot.","url":"https://insights.sbomify.com/CVE-2026-126779/"}