Instagram Website Flaw Exposed Users' Phone Numbers and Email Addresses - MacRumors
Skip to Content

Instagram Website Flaw Exposed Users' Phone Numbers and Email Addresses

by

instagramlogoA security researcher found a flaw in Instagram's website that caused thousands of users' email addresses and phone numbers to be exposed online for several weeks, it was revealed on Thursday.

David Stier, a data scientist and business consultant, told CNET the website source code for some Instagram user profiles included the account holder's contact information whenever it loaded in a web browser.

Although the contact information was available in Instagram's mobile app if users chose to reveal it in their profile, it was never displayed on the desktop version of the Instagram website, so it's unclear why the details were exposed.

The leaked contacts are said to have come from thousands of accounts belonging to private individuals, including minors, as well businesses and brands. Stier alerted Instagram to the problem shortly after discovering it in February, and the photo-focused social platform issued a patch in March.

According to Stier, including the details in the source code could have let hackers scrape the data from the website relatively easily and use it to compile a database listing the contact information of thousands of Instagram users.

A similar data haul may have already occurred. On Monday it was revealed that a database containing contact information for millions of Instagram influencers, celebrities, and brand accounts had been leaked online.

The records included public data pulled from Instagram, such as profile picture, biography, and follower numbers, but also private contact information like phone numbers and email addresses.

The database was initially uploaded and shared by Mumbai-based social media marketing firm Chtrbox, a company that pays Instagram influencers to share sponsored content. Though uploaded by Chtrbox, the database included info from influencers who have never worked with the company.

In a statement, Chtrbox said the information in its database wasn't private and that it didn't source the information through unethical means.

Instagram parent company Facebook said on Monday that it was investigating the Chtrbox database. "We're also inquiring with Chtrbox to understand where this data came from and how it became publicly available," said Facebook.

A similar privacy befell the social media platform in August 2017, when a bug related to an Instagram API allowed hackers to breach multiple high-profile Instagram accounts belonging to celebrities.

Top Rated Comments

jsmith189 Avatar
96 months ago
Our weekly failure by Facebook.
Score: 10 Votes (Like | Disagree)
sshambles Avatar
96 months ago
Instagram: We’re sorry. We’ll try harder to protect your privacy.

Everyone sane: *begins taking bets on how long until the next privacy issue is discovered*
Score: 4 Votes (Like | Disagree)
itsmilo Avatar
96 months ago
I don’t get why the EU isn’t doing anything about Facebook or Instagram. Usually they r up on everyone’s a$$. I guess lobbying is a hell of a thing
Score: 4 Votes (Like | Disagree)
96 months ago
The article is a bit jumbled on details, so hard to understand exactly what is going on. By "web site source code", I assume they mean HTML. But could be buried in some Javascript or retrieved using Ajax and then inserted into the DOM. Probably in a hidden element, hidden input, in a data- attribute, etc.

I am not at all surprised, though.

I am one of a small handful of developers who still answer questions on the jQuery developer forums. jQuery is a popular but rapidly-fading Javascript library that was created primarily to "normalize" the differences between browsers so that devs don't have to code "if this browser, do this, if that browser do that...". Instead, jQuery provides it's own API and if you use their API then it deals with the differences between browser. Rapidly becoming a Thing That Is Not Needed.

Anyhoo, I am shocked at the low level of competency on the part of the (almost always overseas) frontend devs for major Fortune 500 companies. Like, for example, the web site for a major U.S. cell phone provider that I shall not name. You'll have to cycle through the alphabet to guess, but you won't have to go very far. ;)

So, first off, how do I know that they are working for major Fortune 500 companies? Because they've repeatedly failed to reduce their examples to the minimum needed to show the problem, and just post links to their development site - which is typically open to the Internet with no security. If somebody is willing to help them, they will have to dig through mountains of code - like 50 or more JS files being loaded, with redundant plugins left by the previous devs who were hired to do Just One Thing and then moved on to other jobs for other companies. They just keep adding layer after layer of crap. And another dozen tracking scripts, etc.

Anyway, there's their logo, and say an order form for for service, or for the latest iPhone or whatnot, and they've posted a link to their example page and usually it's accessible without a password, though sometimes it needs one, which of course they post openly in an open forum.

So, I COMMONLY see things like price calculators that are being relied-upon by the backend (they have inadvertently created their very own "name your own price tool"!), and it's not uncommon for the devs to not understand that Javascript running in a browser is NO MEASURE OF SECURITY. The only reason anyone should be doing any kind of price calculations or form validations in a web page is as a convenience to the user, to avoid a trip back and forth to the server. Where the validations MUST be done again, but often never are.

It is very common to see posted PHP, C# code, etc. often with no understanding on the part of the dev that we can't help them with that - it's a jQuery forum, not a forum for some random server language. And, at the same time, no understanding that, say, the PHP code runs on the server, and the Javascript code runs in the browser. Chalk that up to the awful historical design of PHP where you can (you don't HAVE to, and this style is discouraged today) mix server and browser code in the same file. It's not uncommon for these devs to just not get it that the server is treating their file as a template, and generates HTML on the server to send to the browser, and the generated HTML (generated by the PHP code) is sent rather than the PHP.

Since we often see PHP/C#/Cold Fusion/whatever code, that means we also see their (common) SQL injection vulnerabilities and other horrors of poor or no security in server code.

I can see the described leakage easily happening because a dev made a query that returned columns that should never have been included in the page and/or the dev somehow thought there's no issue with including some extra data that "the user will never see". You know, because it is "hidden". Hidden, yes, to the casual user, but not to anybody who knows how to use the web inspection/debugging tools present in every desktop browser. Or to a scraper/crawler, which is not limited to seeing just the "visible" elements on a page.

Somebody "might have made a copy". No, it is certain that somebody made a copy. There are certainly multiple copies of the data now in scrapers archives, and they probably do not even know what they have. A scraper is just a robot - it will scrape whatever it finds and squirrel it away. Probably later, an algorithm or a human will comb through it to see what might be "interesting".

Front-end development practices, as done by many top companies, is just absolute crap. The companies piece it out to the cheapest bidder, and there is often no continuity. It gets handed off from one developer to another and again and again and again, and each adds their own layer of crap and leaves their own footprints to the mess.

Beyond that, it is OBVIOUS that many of these devs are getting their information from 10-20 year-old books (which is why I now dispose of old development books rather than them them to a charity store), outdated blogs and tutorial sites, etc. Search engines and SEO have a surprising influence on this, BTW. Because sites that work their way to the top continue to stay there for many years after they have ceased to be useful. There are so many "frozen" dev tutorial sites that just have obsolete information but were once the top reference, and the search engines do a poor job of "expiring" their rankings.

I have to admit, I often Google for answers. But I CHECK THE EXPIRATION DATE. Usually I will include a data constraint in my searches and then check any dates in the blog or tutorial, etc. to insure I am getting fresh results, and not some 10-year-old advice. You don't know how many of these devs I have to point toward MDN, CSS-Tricks, jQuery Learning Center (on the VERY SAME SITE they are posting on...) and they had no clue that these sites existed and are the best references on the development they are doing.

What this researcher uncovered is just the tip of the iceberg. It is not an anomaly. It is endemic.

Edit: It's probably not fair to place the blame on front-end developers. Much of it can be blamed on the scourge known as "full-stack development". This is the fantasy that one person can do it all - front end, back end, database, security, etc. So, you have devs that know a little bit of that, a little bit of that, much of it outdated. As well as the fantasy that developers are fungible - you can just pass off bits and pieces of functionality to whatever random dev is available or can be hired the cheapest from an online virtual sweat-shop to implement a feature and you will somehow magically wind-up with something coherent.

And that, my friends is how sausage.... er, many of the highest profile websites - are too often made.
Score: 2 Votes (Like | Disagree)
0815 Avatar
96 months ago
as usual not surprising ....

By now everyone should know that those big cooperations care more about ad revenue and sale of personal data then about protecting the privacy of their user base - there is just no money in protecting the privacy and apparently users still stick with them - so no harm done in their view point.
Score: 2 Votes (Like | Disagree)
96 months ago
What the hell do they use as a security measure, a Trapper Keeper!?
Score: 2 Votes (Like | Disagree)

Popular Stories

Apple TV Sans Remote Feature

New Apple TV 4K Leaked

Friday September 25, 2026 8:16 am PDT by
MacRumors contributor Aaron Perris has uncovered an image file from Apple for an unreleased Apple TV 4K, suggesting that a new model will finally be released soon. The image is specifically for an "Apple TV 4K (4th generation)" model. Apple TV 4K (4th generation) image (on a gradient) The image reveals that the Apple TV will have the same external design as the current model, with all of its...
HomePod minis Apple TV and iPad mini Leak Feature

iPad Mini With A20 Pro, New HomePod Mini Colors, and New Apple TV 4K All Just Leaked

Friday September 25, 2026 8:18 am PDT by
The next iPad mini, HomePod mini, and Apple TV 4K models have all leaked, just a few weeks before the devices are expected to be announced. Specifically, MacRumors contributor Aaron Perris discovered a few of Apple's official images of the devices, confirming their existence and some new features that are planned. The most notable iPad mini details revealed in today's leak include an A20 Pro ...
HomePod minis on gradient feature 1 1

Exclusive: First Look at HomePod Mini 2 in Three New Colors

Friday September 25, 2026 8:17 am PDT by
Apple's new HomePod mini will share the same design as the original model and come in five colors, MacRumors has found. The information originates from Apple's own code (spotted by MacRumors contributor Aaron Perris) and shows clear product images of the new models in all of their colors. The above image contains Apple's own icons, which specifically refer to a "HomePod mini 2." The new...
Latest Stories
Top Stories: Apple Leaks, Siri AI Settlement, and More
Top Stories: Apple Leaks, Siri AI Settlement, and More
21 hours ago
watchOS 27: 12 New Things To Check Out on Your Apple Watch
watchOS 27: 12 New Things To Check Out on Your Apple Watch
1 day ago
Banks and Credit Unions to Team Up Against Apple Pay Fees
Banks and Credit Unions to Team Up Against Apple Pay Fees
2 days ago
Apple Finally Shares tvOS 27 Release Notes With List of New Features
Apple Finally Shares tvOS 27 Release Notes With List of New Features
2 days ago
Amazon's $199 Discount on Apple Watch Ultra 3 Returns to Help Clear Stock
Amazon's $199 Discount on Apple Watch Ultra 3 Returns to Help Clear Stock
2 days ago
MacRumors Giveaway: Win an Apple Watch Ultra 4 From Lululook
MacRumors Giveaway: Win an Apple Watch Ultra 4 From Lululook
2 days ago
Apple Code Confirms iPad 12 Specs: A19, 8GB RAM, N1, C1X Modem
Apple Code Confirms iPad 12 Specs: A19, 8GB RAM, N1, C1X Modem
2 days ago
Some iPhone 18 Pro Max Users Experiencing AT&T Cellular Issues
Some iPhone 18 Pro Max Users Experiencing AT&T Cellular Issues
2 days ago
Launch Week Deals Hit Latest Macs, Apple Watch Ultra 4, and Apple Accessories
Launch Week Deals Hit Latest Macs, Apple Watch Ultra 4, and Apple Accessories
2 days ago
The MacRumors Show: Tyler Stalman Talks iPhone 18 Pro's Camera
The MacRumors Show: Tyler Stalman Talks iPhone 18 Pro's Camera
2 days ago
iPad Mini With A20 Pro, New HomePod Mini Colors, and New Apple TV 4K All Just Leaked
iPad Mini With A20 Pro, New HomePod Mini Colors, and New Apple TV 4K All Just Leaked
2 days ago
iPad Mini 8 Leaked: A20 Pro Chip, Landscape Camera, and More
iPad Mini 8 Leaked: A20 Pro Chip, Landscape Camera, and More
2 days ago
Exclusive: First Look at HomePod Mini 2 in Three New Colors
Exclusive: First Look at HomePod Mini 2 in Three New Colors
2 days ago
New Apple TV 4K Leaked
New Apple TV 4K Leaked
2 days ago
Create a Custom Pass in the Wallet App on iPhone
Create a Custom Pass in the Wallet App on iPhone
2 days ago
How to Check Your Mac's Manufacture Date in macOS 27
How to Check Your Mac's Manufacture Date in macOS 27
2 days ago
What's Gone in macOS Golden Gate and What's Next in macOS 28
What's Gone in macOS Golden Gate and What's Next in macOS 28
2 days ago
TestFlight App Gets New iOS 27 Features
TestFlight App Gets New iOS 27 Features
3 days ago
Google Photos Wardrobe Feature Comes to iOS
Google Photos Wardrobe Feature Comes to iOS
3 days ago
Apple Music to Host Free Head Trip Festival Livestream
Apple Music to Host Free Head Trip Festival Livestream
3 days ago
watchOS 27.2 Code Hints at iPhone-Style Screenshot Previews
watchOS 27.2 Code Hints at iPhone-Style Screenshot Previews
3 days ago
Beats 360 Headphones Now Available in Apple Stores
Beats 360 Headphones Now Available in Apple Stores
3 days ago
Apple Shares New Video Promoting iOS 27 Parental Controls
Apple Shares New Video Promoting iOS 27 Parental Controls
3 days ago
Apple Has Announced 12 New Products in the Past Month
Apple Has Announced 12 New Products in the Past Month
3 days ago
Apple Watch Ultra 2 vs. Ultra 4 Buyer's Guide: Should You Upgrade?
Apple Watch Ultra 2 vs. Ultra 4 Buyer's Guide: Should You Upgrade?
3 days ago
Here's When Apple TV is Airing Free 'Peanuts' Holiday Specials This Year
Here's When Apple TV is Airing Free 'Peanuts' Holiday Specials This Year
3 days ago
Square Announces Apple Business Integration
Square Announces Apple Business Integration
3 days ago
AirPods Pro 3 on Sale for $199 This Week on Amazon
AirPods Pro 3 on Sale for $199 This Week on Amazon
3 days ago
Qualcomm Announces Renewed Agreement With Apple
Qualcomm Announces Renewed Agreement With Apple
3 days ago
Apple Confirms iPhone 18 Pro Bug Fix Update is Coming Next Week
Apple Confirms iPhone 18 Pro Bug Fix Update is Coming Next Week
3 days ago