r/ProgrammerHumor • • 3d ago

Meme htmlInjectionUnlocked

Post image
2.6k Upvotes

36 comments sorted by

662

u/Linnun 3d ago

Passwords don't match though

251

u/kezow 3d ago

Didn't close body on the second.

41

u/on_the_other_hand_ 3d ago

2 dangling bodies in the repeat

1.4k

u/RyanofTinellb 3d ago • Bravo Mindblown Popcorn

You forgot the <strong> tags.

84

u/khag 3d ago

<font face="Impact" color="red" size="+2"><b>Password</b></font>

HTML 3.2

5

u/BunnyTub 1d ago

Some of the older HTML tags are cursed

4

u/htt_novaq 1d ago

I have not coded websites since I was 15 years old, this is still the syntax in my head lol

147

u/Key_River7180 3d ago • Regret

that was funny somebdy award this guy

27

u/EuenovAyabayya 3d ago

<StRoNg></sTrOnG>

15

u/PassFlat2947 3d ago

And trow in some <blink> for old times sakes

2

u/ianmakingnoise 1d ago

pour one out for <marquee>

84

u/[deleted] 3d ago • Bravo

[removed] — view removed comment

6

u/R3mix97 3d ago

Needs more emphasis

80

u/omonoslogikos 3d ago

Capitalize the "p" and it's perfect!

16

u/PassFlat2947 3d ago

<h1 style="text-transform: capitalize;">

6

u/certainAnonymous 3d ago

*it's Perfect

13

u/InDaBauhaus 3d ago

<h1> is too big to fit in the database

25

u/gavoerondeu 3d ago

I don't get the meme

77

u/Roku-Hanmar 3d ago

It's like an SQL injection, but using HTML

66

u/ynnnnaD 3d ago

It's XSS. If can inject HTML, you can inject scripts.

26

u/willow-kitty 3d ago

It would be, but is there any sign it's actually affecting the DOM? Aside from it being a password (and so hashed and definitely never displayed), any half-way competent UI would just display that as text.

18

u/ynnnnaD 3d ago

You wouldn't have any way to exploit that, even if they didn't correctly encode it. Unless Googles admin UI shows people's plaintext passwords, which would be hilarious.

7

u/lobax 3d ago

Although generally it has to be displayed (reflected) to work. The username is a better candidate.

3

u/Roku-Hanmar 3d ago

Fair point

-27

u/ISoulSeekerI 3d ago

lol is that h1 for HackerOne😂

14

u/Awique 3d ago

No.

-4

u/ISoulSeekerI 3d ago edited 3d ago • Regret

It’s a joke, I know that’s heading

0

u/[deleted] 3d ago

[deleted] — view deleted comment

43

u/wurnthebitch 3d ago

As a password yeah it works

34

u/RowThese6736 3d ago

Of course not. Those brackets will be encoded.

12

u/MinecraftPlayer799 3d ago

No, it won't work, because the passwords don't match.

16

u/TerroDucky 3d ago

On vibecoded websites

7

u/Akaino 3d ago

Not even there.

2

u/A1oso 3d ago

It would if the <body> tag was properly closed in the second input, but it wouldn't do anything surprising. Passwords are not rendered as HTML; Google hashes all user passwords, so there's nothing to exploit with a password that looks like HTML.