HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by gitrog | Hacker News Reader
Parent
Full thread
gitrog
·
Sorry, would you mind explaining what this will do?
View on HN
thepete2
·
Improper input sanitation, you can potentially add raw html to other people's pages (XSS).
madhato
·
Doesn't the regex sanitize it before display?
some_random
·
Yes but it's pretty easily bypassed
madhato
·
How is it easily bypassed?
Mapsmithy
·
I asked earlier because I'm genuinely curious, but do you have a payload that would bypass this particular regex?
Reply on news.ycombinator.com