p PatchFirst

PatchFirst · Latest vulnerabilities

spatie/browsershot vulnerabilities

Vulnerabilities published for spatie/browsershot in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 10

  1. CVE-2025-1022

    High · CVSS 8.8EPSS 0.46%Fix available

    CVE-2025-1022

    Versions of the package spatie/browsershot before 5.0.5 are vulnerable to Improper Input Validation in the setHtml function, invoked by Browsershot::html(), which can be bypassed by omitting the slashes in the file URI (e.g., file:../../../../etc/passwd). This is due to missing validations of the user input that should be blocking file URI schemes (e.g., file:// and file:/) in the HTML content. **Note:** Further analysis has identified additional proof-of-concept exploits leveraging the vulnerable function. Developers using this package should ensure proper input validation to mitigate potential risks, as the issue remains unaddressed.

    • Update to 5.0.5
    Published Updated
  2. CVE-2025-1026

    High · CVSS 7.7EPSS 0.55%Fix available

    CVE-2025-1026

    Versions of the package spatie/browsershot before 5.0.5 are vulnerable to Improper Input Validation due to improper URL validation through the setUrl method, which results in a Local File Inclusion allowing the attacker to read sensitive files. **Note:** This is a bypass of the fix for [CVE-2024-21549](https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8533023).

    • Update to 5.0.5
    Published Updated
  3. CVE-2024-21549

    High · CVSS 7.7EPSS 0.61%Fix available

    CVE-2024-21549

    Versions of the package spatie/browsershot before 5.0.3 are vulnerable to Improper Input Validation due to improper URL validation in the setUrl method. An attacker can exploit this vulnerability by utilizing view-source:file://, which allows for arbitrary file reading on a local file. **Note:** This is a bypass of the fix for [CVE-2024-21544](https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8496745).

    • Update to 5.0.3
    Published Updated
  4. CVE-2024-21547

    High · CVSS 8.7EPSS 0.95%Fix available

    CVE-2024-21547

    Versions of the package spatie/browsershot before 5.0.2 are vulnerable to Directory Traversal due to URI normalisation in the browser where the file:// check can be bypassed with file:\\. An attacker could read any file on the server by exploiting the normalization of \ into /.

    • Update to 5.0.2
    Published Updated
  5. CVE-2024-21544

    High · CVSS 7.7EPSS 0.57%Fix available

    CVE-2024-21544

    Versions of the package spatie/browsershot before 5.0.1 are vulnerable to Improper Input Validation due to improper URL validation in the setUrl method. An attacker can exploit this vulnerability by using leading whitespace (%20) before the file:// protocol, resulting in Local File Inclusion, which allows the attacker to read sensitive files on the server.

    • Update to 5.0.1
    Published Updated
  6. CVE-2022-43984

    High · CVSS 8.2EPSS 0.68%Fix available

    Browsershot 3.57.3 - Server Side XSS to LFR via HTML

    Browsershot version 3.57.3 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate that the JS content imported from an external source passed to the Browsershot::html method does not contain URLs that use the file:// protocol.

    • Update to 3.57.4
    Published Updated
  7. CVE-2022-43983

    High · CVSS 8.2EPSS 0.7%Fix available

    Browsershot 3.57.2 - Server Side XSS to LFR via HTML

    Browsershot version 3.57.2 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate that the HTML content passed to the Browsershot::html method does not contain URL's that use the file:// protocol.

    • Update to 3.57.3
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →