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
{{ message }}
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.
There are some XSS "signposts" in the tutorial (Quote: "Remember: by using this feature you're relying on Showdown to be secure."), but ultimately this isn't setting a great example for new react developers.
Thanks - Blair.
The text was updated successfully, but these errors were encountered:
Meh, this is far and away not the point of the tutorial. It's not production code, it's a tutorial. And we call out that by using dangerouslySetInnerHTML you are explicitly opting out of React's protection.
Thanks for calling it out, but I don't think it's worth making an effort to fix.
Hi,
There is a pretty obvious XSS in the example code -- a comment such as:
Will trigger JS exec.
There are some XSS "signposts" in the tutorial (Quote: "Remember: by using this feature you're relying on Showdown to be secure."), but ultimately this isn't setting a great example for new react developers.
Thanks - Blair.
The text was updated successfully, but these errors were encountered: