PT-2025-5607
CVE-2025-24963
·
Published
2025-01-29
·
Updated
2025-12-31
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions:
Vitest versions prior to 2.1.9
Vitest versions prior to 3.0.4
Description:
The
screenshot-error handler on the browser mode HTTP server responds to any file on the file system. If the server is exposed on the network by browser.api.host: true, an attacker can send a request to that handler from remote to get the content of arbitrary files. This issue allows attackers to read arbitrary files on the system.Recommendations:
For versions prior to 2.1.9, update to version 2.1.9 or later.
For versions prior to 3.0.4, update to version 3.0.4 or later.
As a temporary workaround, consider disabling the
browser.api.host: true configuration to prevent exposure of the browser mode server to the network.
Restrict access to the screenshot-error handler to minimize the risk of exploitation.
Avoid using the file parameter in the screenshot-error handler until the issue is resolved.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾