Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
qnsoaejacniln
· 2y ago · 0 comments
There is XSS in the (my-name) part :)
(my-name "<img src='#' onerror=alert(1) />")
Comments
[–]
hpeter
2y ago
It's not XSS if it's not cross-site.
[–]
didibus
2y ago
Nice catch. Is it an issue though when the script injection only runs within your own browser session?
[–]
Jeaye
2y ago
No. That in itself shouldn't be a cause for concern. Local users can do anything to their own machines already. It would be a concern if you persist this to then later be loaded by someono else's machine.