fix(phone/tweet): Fixed possible XSS vector

As we were parsing user input for \n in order to convert to <br> tags, a XSS vulnerability was introduced allowing for users to pass arbitrary script tags to be rendered in tweets.
This commit is contained in:
Taso committed 2021-02-09 11:14:52 -05:00
1 parent c0509be2d1
commit b73919c147
4 files changed
+31 -2

No files matched your search

+1
View File
@@ -21,6 +21,7 @@
"@types/jest": "^26.0.14",
"core-js": "^3.6.5",
"dayjs": "^1.10.4",
"dompurify": "^2.2.6",
"emoji-mart": "^3.0.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",