Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trycf/c220db84b4dcda354ea5cd0b5124ff6b to your computer and use it in GitHub Desktop.
Save trycf/c220db84b4dcda354ea5cd0b5124ff6b to your computer and use it in GitHub Desktop.
TryCF Gist
<cfoutput>
& vs #GetSafeHTML('& xss test: <b>bold</b> <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/63/Adobe_ColdFusion_10_icon.png/100px-Adobe_ColdFusion_10_icon.png"> <script>alert("TEST")</script>')#
</cfoutput>
<p>Checking whether trycf allows images: <img src="http://vignette3.wikia.nocookie.net/logopedia/images/8/8b/Macromedia_ColdFusion_MX2.png/revision/latest?cb=20161014143448"> YEP!</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment