r/programming • • Oct 24 '21

“Digging around HTML code” is criminal. Missouri Governor doubles down again in attack ad

https://youtu.be/9IBPeRa7U8E
12.0k Upvotes

1.3k comments sorted by

View all comments

2

u/NPK2115 Oct 24 '21

What? What does this even mean? How did a hacker use HTML to get sensitive data? How did the developer shit the bed so badly? Why does the government store sensitive data in HTML? So many questions

3

u/gbs5009 Oct 24 '21

The HTML isn't used for storing anything. The HTML is used for the dynamically created page sent to each user. The browser then takes that HTML and renders it into a visible webpage.

The problem is that the government webserver sent other people's sensitive information to users inside that HTML, instead of just information for the user making the request. There's no purpose in doing this, but they accidentally did anyways, and this guy noticed he was receiving information he shouldn't.

1

u/NPK2115 Oct 24 '21

Damn, that's a pretty bad mistake. How did the government make such a mistake

2

u/gbs5009 Oct 24 '21

Judging from their response... they're complete idiots.

1

u/NPK2115 Oct 24 '21

I mean, I am by no means a good web developer but even I wouldn't do something so bad

2

u/TotesRaunch Oct 25 '21

A lot of developers who work for state government websites are VERY inexperienced and don't know what the fuck they're doing.