Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
import { Component, h } from '@stencil/core';
@Component({
tag: 'my-component'
})
export class MyComponent {
render() {
return [
<a href="javascript:alert('xss')">XSS Link</a>,
<a href="data:text/html;base64,PHNjcmlwdD5hbGVydCgneHNzJyk8L3NjcmlwdD4=">XSS Link</a>
];
}
}


Expected behavior:
Users should have to use innerHTML for this to work, to prevent the possibility of developers creating an XSS vulnerability.
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
Expected behavior:
Users should have to use
innerHTMLfor this to work, to prevent the possibility of developers creating an XSS vulnerability.