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
Describe the bug
For antd component if I provider html elements as an option, they are getting executed. This is potential security vulnerability related to HTML injection or Cross-Site Scripting (XSS)
To Reproduce
Add "<img src=1 onerror=alert(1)>" as option in listValues and refresh
Expected behavior
Html elements should not get injected via options.
The text was updated successfully, but these errors were encountered:
alphazhe
changed the title
XSS handling for options
XSS handling for antd select options
Nov 26, 2023
Describe the bug
For antd component if I provider html elements as an option, they are getting executed. This is potential security vulnerability related to HTML injection or Cross-Site Scripting (XSS)
To Reproduce
Add
"<img src=1 onerror=alert(1)>"
as option in listValues and refreshExpected behavior
Html elements should not get injected via options.
The text was updated successfully, but these errors were encountered: