Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

Known CVEnpm/vite

CVE-2025-24010: Vite dev server lets any website read responses over WebSocket

Medium

Permissive CORS defaults and missing Origin checks on WebSocket connections let a malicious site talk to a local dev server. Fixed in 4.5.6, 5.4.12 and 6.0.9.

Affected and fixed versions

Affected: < 4.5.6; >= 5.0.0, < 5.4.12; >= 6.0.0, < 6.0.9. Fixed in 4.5.6, 5.4.12, 6.0.9.

Sources

See every known CVE, and the ones in the news, in the Learning Center