For example:
- the label
input
graph LR
id1[<input onfocus="alert(1)">]
- the label
img
graph LR
id1[<img src=x onerror="javascript:alert(1)">]
- the label
a
graph LR
id1[<a href="javascript:alert()"></a>]
- the label
iframe
graph LR
id1["<iframe src=javascript:alert('xss')></iframe>"]
The label
input
:The label
img
:The label
a
: