3 ms·
You've managed to miss the whole point of the discussion thread and the article above it. Your data is coming from a user. You need to change "<img src onerror=
by thaumasiotes 6y ago
You've managed to miss the whole point of the discussion thread and the article above it. Your data is coming from a user. You need to change "<img src onerror=alert(1)>" to "<img src onerror=alert(1)>".
You will not be able to do this if your approach is "doesn't matter; we'll just trust whatever we get".