K
K
komarevtsev2017-07-21 09:38:05
JavaScript
komarevtsev, 2017-07-21 09:38:05

XSS on page for internal use?

I want to use <code> tag in internal use page to view user data.
How much will this tag protect against xss?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2017-07-21
@Stalker_RED

If there is no escaping or filtering besides the <code> tag, then it will not help at all. Nobody hinders to write </c⁠ode>alert(1);
And if there is a normal screening of an output that and <code> is not obligatory.

S
sim3x, 2017-07-21
@sim3x

No
sanitizing of user input is done before saving to the database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question