EBay Platform Exposed to Severe Vulnerability
blog.checkpoint.com
blog.checkpoint.com
...nope. Ebay literally lets you paste arbitrary JS into your item descriptions (suitably mangled, but that's not a barrier when there are tools to do it for you), which is then actually executed on client devices. It's exactly what it says on the tin; a perfect vector for phishing attacks, malware distribution, etc.
Does Ebay do any sanity checking on that JS, or is it just a free-for-all?
Instead they crudely scan through the listing with a simple regexp looking for keywords that they think suggest you're doing something nefarious. Eg, any JS that looks to them like it deals with setting or reading cookies is flagged; anything that looks like it opens a popup is flagged.
"For every complex problem there is an answer that is clear, simple, and wrong."
https://news.ycombinator.com/item?id=3279078