This is a minimal example to demonstrate how XSS might happen in an application written with UI5-Webcomponents for React.
npm installandnpm start, navigate tolocalhost:3000- Input
<img src="nonexistent.jpg" onerror="alert('xss')"/>in theInputcomponent