Questions tagged [csv-injection]

4 questions
2
votes
1 answer

CSV-injection in export functionality in asp.net application

While submitting a form, in one of the fields i am inserting vulnerable characters like =cmd|'/C calc'!A0. So in security terms it is termed as CSV-injection in export functionality I have written code like this for above error. but its not…
Nad
  • 4,605
  • 11
  • 71
  • 160
0
votes
1 answer

How to prevent csv injection in django application

I am having a Django application with file upload feature. I am using Clamav to scan the file for viruses. I want to prevent CSV injection in my application too. I found this stackoverflow link related to it, but is of no help. Please suggest how to…
Sachin Singh
  • 7,107
  • 6
  • 40
  • 80
-1
votes
1 answer

C# conditions not working same for bool values

I have a piece of code, in which I set true or false depending upon the conditions. Below is that code public bool HackerTextExistOrNot(string text) { bool flgValid = false; var attackChars = new char[] { '=', '+', '-', '@' }; …
Nad
  • 4,605
  • 11
  • 71
  • 160
-1
votes
1 answer

How to avoid CSV injection on fields containing URLs?

I am trying to secure my application preventing CSV injection. The vulnerability applies when the user downloads a CSV export file. The way I deal with it now is removing the characters: = + -…
Vasilis Siourdas
  • 309
  • 1
  • 11