There was a protocol for reporting security vulnerabilities. Of course some companies don't follow the protocol when vulnerabilities are reported to them, but that's their problem.
You report the problem and then you wait 1 month, if the company still hasn't fixed the issue by then, then you publicly announce it.