Skip to content

Commit

Permalink
fix the win an ipad layout
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Dec 9, 2024
1 parent 943ebc0 commit 45f5b54
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 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 Expand Up @@ -110,8 +109,7 @@ To exploit this vulnerability, an attacker sends the user a link like this:

```html
<a href="http://example.org/results?search=<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 45f5b54

Please sign in to comment.