You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Minimal Demo Example of XSS in UI5-Webcomponents for React
2
+
3
+
This is a minimal example to demonstrate how XSS might happen in an application written with [UI5-Webcomponents for React](https://ui5.github.io/webcomponents-react/).
4
+
5
+
## Steps to trigger XSS
6
+
7
+
1.`npm install` and `npm start`, navigate to `localhost:3000`
8
+
2. Input `<img src="nonexistent.jpg" onerror="alert('xss')"/>` in the [`Input` component](https://ui5.github.io/webcomponents/components/Input/)
0 commit comments