Descripción
Vite Vitejs contiene una vulnerabilidad de control de acceso incorrecto que expone el contenido de archivos no permitidos mediante ?inline&import o ?raw?import. Solo se ven afectadas las aplicaciones que exponen explícitamente el servidor de desarrollo de Vite a la red (mediante --host o la opción de configuración server.host).
Acción recomendada
Aplicar las mitigaciones del fabricante y, en servicios en la nube, seguir las recomendaciones de seguridad del proveedor; si no hay mitigaciones disponibles, discontinuar el uso del producto.
Referencia de CISA para agencias federales de EE. UU.: BOD 22-01.
Referencias
- Esta vulnerabilidad podría afectar a un componente de código abierto, una biblioteca de terceros, un protocolo o una implementación propietaria que podría ser utilizada por distintos productos. Para más información, consulte github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949
- Ficha en NVD (NIST) nvd.nist.gov/vuln/detail/CVE-2025-31125
Ver el texto original en inglés (CISA)
Vite Vitejs Improper Access Control Vulnerability
Vite Vitejs contains an improper access control vulnerability that exposes content of non-allowed files using ?inline&import or ?raw?import. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected.
Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Notes: This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949 ; https://nvd.nist.gov/vuln/detail/CVE-2025-31125