Security mailing lists by PureSourceCode

CVE-2025-24010

MEDIUM 6.5CVSS 3.1

Websites were able to send any requests to the development server and read the response in vite

Vite is a frontend tooling framework for javascript. Vite allowed any websites to send any requests to the development server and read the response due to default CORS settings and lack of validation on the Origin header for WebSocket connections. This vulnerability is fixed in 6.0.9, 5.4.12, and 4.5.6.

Published
20 Jan 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-1385CWE-346CWE-350
Also known as
GHSA-vg6x-rcgg-rjx6
Sources
NVDJSONOSV GHSA-vg6x-rcgg-rjx6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vitejs vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
< 4.5.5 4.5.5
NVD vitejs vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
>= 5.0.0, < 5.4.12 5.4.12
NVD vitejs vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
>= 6.0.0, < 6.0.9 6.0.9
OSV npm vite >= 6.0.0, < 6.0.9 6.0.9
OSV npm vite >= 5.0.0, < 5.4.12 5.4.12
OSV npm vite < 4.5.6 4.5.6

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Jan 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jan 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.