Two vulnerabilities in Facebook's "view as" feature — a feature that lets people see what their own profile looks like to someone else — were exploited by attackers who gained access to the personal information of about 50 million users, among them those of chief executive Mark Zuckerberg and chief operating officer Sheryl Sandberg, the company said on Friday.