Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thepete2
· 5y ago · 0 comments
Improper input sanitation, you can potentially add raw html to other people's pages (XSS).
Comments
[–]
madhato
5y ago
Doesn't the regex sanitize it before display?
[–]
some_random
5y ago
Yes but it's pretty easily bypassed
[–]
Mapsmithy
5y ago
I asked earlier because I'm genuinely curious, but do you have a payload that would bypass this particular regex?
[–]
madhato
5y ago
How is it easily bypassed?