XSS vulnerability example

For better results please open this preview as new window (top right icon).

You can change the image displayed on this page by adding its size in pixels to the ULR after hash (#) -> https://iedok.csb.app/#200.

You can click or copy-paste the links below to see the result.

Example of valid URL for random 200px square image: https://iedok.csb.app/#200

Example of infected URL which can execute any script: https://iedok.csb.app/#qwe%22%20onerror=alert('XSS')//

Check my article about this vulnerability.