Can you create a html injection | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can you create a html injection

html injection

27th Dec 2016, 5:28 PM
Vincent Danielson
Vincent Danielson - avatar
2 Answers
27th Dec 2016, 6:08 PM
Mateusz Kifner
Mateusz Kifner - avatar
0
as previously said, yes. to create, place valid hypertext into an input. if the input isn't validated, the code would appear. Mostly, you'll see xss over this type of attack and nearly always borders on injecting scripts like js. html tags should ALWAYS be removed from input. regular expressions are an easy validation route that can deny or replace harmful code before being uploaded to or downloaded from the database. this attack is covered in the latest Comptia s+, if you're up for reading. lastly, never... ever.. trust i/o.
27th Dec 2016, 10:41 PM
Louis Milotte
Louis Milotte - avatar