Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

515
Vistas
Is Javascript FileUplod function high risk (Cordova file disclosure)

While using file upload function the security scan is showing high risk. The code as show below,

<input type="file" accept=".csv" (change)="uploadfile($event)">

uploadfile(e) {
    const reader = new FileReader();
    reader.onload = () => {
      const data = reader.result;
      this.performcalc(data);          
    };
    reader.readAsBinaryString(e.target.files);
  }

while the above code scan, it show high risk. In between have done validation and sanitize, but still showing high risk.

Is there any better solution to avoid security risk.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

See socket.dev's analysis on Cordova. The short version is: 3 of its dependencies are deprecated.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda