Change HTML `img` tag to lowercase [ci skip]

This commit is contained in:
John Bampton 2021-05-05 09:54:09 +10:00
parent 869532ccea
commit 95242fa69b
1 changed files with 1 additions and 1 deletions

View File

@ -773,7 +773,7 @@ As a second step, _it is good practice to escape all output of the application_,
Network traffic is mostly based on the limited Western alphabet, so new character encodings, such as Unicode, emerged, to transmit characters in other languages. But, this is also a threat to web applications, as malicious code can be hidden in different encodings that the web browser might be able to process, but the web application might not. Here is an attack vector in UTF-8 encoding:
```html
<IMG SRC=&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;
<img src=&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;
&#108;&#101;&#114;&#116;&#40;&#39;&#88;&#83;&#83;&#39;&#41;>
```