Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-24963

5.9 · MEDIUM
Published Feb 4, 2025 vitest.dev CWE-22 EPSS 2.38% (83th pctl)

Overview

CVE-2025-24963 is a medium-severity vulnerability affecting vitest.dev vitest. It was published on February 4, 2025 and has a CVSS 3.1 base score of 5.9 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.9, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

Vitest is a testing framework powered by Vite. The `__screenshot-error` handler on the browser mode HTTP server that responds any file on the file system. Especially 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 `__screenshot-error` handler on the browser mode HTTP server responds any file on the file system. This code was added by commit `2d62051`. Users explicitly exposing the browser mode server to the network by `browser.api.host: true` may get any files exposed. This issue has been addressed in versions 2.1.9 and 3.0.4. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Remediation

Check the references section for vendor advisories and patches from vitest.dev. Update vitest to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
vitest.dev vitest >= 0, < 2.1.9 Affected

Frequently Asked Questions

What is CVE-2025-24963?

CVE-2025-24963 is a medium-severity vulnerability affecting vitest.dev vitest. It was published on February 4, 2025 and has a CVSS 3.1 base score of 5.9 (MEDIUM).

How severe is CVE-2025-24963?

This vulnerability has a CVSS 3.1 base score of 5.9, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-24963?

Check the references section for vendor advisories and patches from vitest.dev. Update vitest to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-24963?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-24963 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.