PoC Monitor
← All CVEs
CVE-2025-1022published 5 Feb 2025 05:00 UTCData: JSON · API

spatie/browsershot

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-20
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

n/a spatie/browsershot
  • < 5.0.5

Fixed in 5.0.5

Mitigation

Upgrade spatie/browsershot to 5.0.5 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published5 Feb 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.