VK.com · Report #198907
HTML Injection possible due to bad filter
How it was found
Hello,
I have found an area where it may be possible to run certain HTML/JS scripts.
TO REPRODUCE:
-
Go to documents
-
Upload anything and edit it
-
On the edit page in tags, enter code without a closing bracket ex. <img src=x
-
Click enter
-
It will be parsed in that area, but after saving it, it won't parse.
POTENTIAL: I'm still looking into this, as this could be a possible XSS vuln if I can find vectors without closing brackets that have harmful code.
WHY IT WORKS: The reason this works is because your filter only looks for opening AND closing brackets, when it is possible to run code without closing the brackets.
Thanks, Kicker