CVE-2025-1022
Last modified
CVE-2025-1022 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-1022?
How severe is CVE-2025-1022?
How do I fix CVE-2025-1022?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-10214DLL search path hijacking vulnerability in the UPDF.exe exec…7.8
- CVE-2025-10215DLL search path hijacking vulnerability in the UPDF.exe exec…7.8
- CVE-2025-10216A vulnerability was detected in GrandNode up to 2.3.0. The i…2.6
- CVE-2025-10217A vulnerability exists in Asset Suite for an authenticated u…6
- CVE-2025-10218A flaw has been found in lostvip-com ruoyi-go 2.1. This affe…9.8
- CVE-2025-10219Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-10220Use of Unmaintained Third Party Components (CWE-1104) in the…9.8
- CVE-2025-10221Insertion of Sensitive Information into Log File (CWE-532) i…6.7
- CVE-2025-10222Exposure of Sensitive Information to an Unauthorized Actor (…4.8
- CVE-2025-10223Insufficient Session Expiration (CWE-613) in the Web Admin P…8.1
- CVE-2025-10224Improper Authentication (CWE-287) in the LDAP authentication…7.1
- CVE-2025-10225Improper Restriction of Operations within the Bounds of a Me…8.7
Are you affected by CVE-2025-1022?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
