Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Update src/dash-table/dash/DataTable.js
Browse files Browse the repository at this point in the history
Add XSS vulnerability warning

Co-authored-by: Alex Johnson <johnson.alex.c@gmail.com>
  • Loading branch information
AnnMarieW and alexcjohnson authored Jun 28, 2021
1 parent ccac755 commit a9c3981
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dash-table/dash/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,8 @@ export const propTypes = {
]),
/**
* (default: False) If True, html may be used in markdown cells
* Be careful enabling html if the content being rendered can come
* from an untrusted user, as this may create an XSS vulnerability.
*/
html: PropTypes.bool
}),
Expand Down

0 comments on commit a9c3981

Please # to comment.