spatie/browsershot vulnerabilities

Convert a webpage to an image or pdf using headless Chrome

Registry
Composer
Latest
5.5.0
License
MIT

10 known advisories

The latest version, 5.5.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:composer require spatie/browsershot:^5.5.0

Is your project on an affected spatie/browsershot?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for spatie/browsershot

  • HighCVE-2025-3192GHSA-qw64-6vcc-8ghx4 Apr 2025

    Browsershot Server-Side Request Forgery (SSRF) via setURL() Function

    Affected
    <=5.0.3
    Fixed in
    No fix released
  • HighCVE-2025-1022GHSA-j2gw-r24m-j2qw5 Feb 2025

    Browsershot Path Traversal

    Affected
    <5.0.5
    Fixed in
    5.0.5
  • MediumCVE-2025-1026GHSA-f2q5-6mx7-q9qq5 Feb 2025

    Browsershot Local File Inclusion

    Affected
    <5.0.5
    Fixed in
    5.0.5
  • MediumCVE-2024-21549GHSA-c9f5-29f6-c35w20 Dec 2024

    Browsershot Improper Input Validation vulnerability

    Affected
    <5.0.3
    Fixed in
    5.0.3
  • HighCVE-2024-21547GHSA-v528-6rq9-h6gw18 Dec 2024

    Spatie Browsershot Directory Traversal vulnerability

    Affected
    <5.0.2
    Fixed in
    5.0.2
  • MediumCVE-2024-21544GHSA-g2r4-phv7-5fgv13 Dec 2024

    Browsershot Local File Inclusion

    Affected
    <5.0.1
    Fixed in
    5.0.1
  • HighCVE-2022-41706GHSA-8c2c-jxwj-jqgf25 Nov 2022

    Browsershot does not validate URL protocols passed to Browsershot URL method

    Affected
    <3.57.3
    Fixed in
    3.57.3
  • MediumCVE-2022-43984GHSA-6q49-35h6-rq2p25 Nov 2022

    Browsershot version 3.57.3 vulnerable to improper input validation

    Affected
    <3.57.4
    Fixed in
    3.57.4
  • MediumCVE-2022-43983GHSA-82h9-v8vh-mfpq25 Nov 2022

    Browsershot vulnerable to Cross-Site Scripting (XSS)

    Affected
    <3.57.3
    Fixed in
    3.57.3
  • MediumCVE-2020-7790GHSA-rv74-mh27-4jpv24 May 2022

    browsershot local file inclusion vulnerability

    Affected
    <3.40.1
    Fixed in
    3.40.1

Is your spatie/browsershot version vulnerable?

Which of your client projects still run an old spatie/browsershot?

NPMscan reads the composer.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Composer packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Composer registry.