Skip to content

Commit

Permalink
Update files/en-us/web/security/attacks/xss/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Hamish Willee <[email protected]>
  • Loading branch information
wbamberg and hamishwillee authored Dec 3, 2024
1 parent 7b22817 commit cc94a7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions files/en-us/web/security/attacks/xss/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ Let's say this page is served from `https://my-bank.com/welcome`. To exploit the

```html
<a href="https://my-bank.com/welcome?user=<img src=x onerror=alert('hello!')>">
Win a free iPad!</a
>
Win a free iPad!</a>
```

When the user clicks the link:
Expand Down

0 comments on commit cc94a7b

Please sign in to comment.