Origin Validation Error Affecting @nuxt/vite-builder package, versions >=3.8.1 <3.15.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NUXTVITEBUILDER-8663232
  • published26 Jan 2025
  • disclosed25 Jan 2025
  • creditsapphi-red

Introduced: 25 Jan 2025

NewCVE-2025-24360  (opens in a new tab)
CWE-346  (opens in a new tab)

How to fix?

Upgrade @nuxt/vite-builder to version 3.15.3 or higher.

Overview

@nuxt/vite-builder is a Vite bundler for Nuxt

Affected versions of this package are vulnerable to Origin Validation Error due to the default CORS settings. An attacker can read the response from the development server by sending requests from a malicious website.

CVSS Scores

version 4.0
version 3.1